Browse Source

only support user atm need 2fa, so making this explicit

pull/594/head
JG 3 years ago
parent
commit
62353e1965
  1. 2
      spec/models/user_spec.rb

2
spec/models/user_spec.rb

@ -142,6 +142,8 @@ RSpec.describe User, type: :model do
end end
context "when the user is in development environment" do context "when the user is in development environment" do
let(:user) { FactoryBot.create(:user, :support) }
before do before do
allow(Rails.env).to receive(:development?).and_return(true) allow(Rails.env).to receive(:development?).and_return(true)
end end

Loading…
Cancel
Save