Browse Source

pulled out of support person context, this should work for any user in dev env

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

2
spec/models/user_spec.rb

@ -139,6 +139,7 @@ RSpec.describe User, type: :model do
it "can filter case logs by user, year, status and organisation" do
expect(user.case_logs_filters).to eq(%w[status years user organisation])
end
end
context "when the user is in development environment" do
before do
@ -150,7 +151,6 @@ RSpec.describe User, type: :model do
end
end
end
end
describe "paper trail" do
let(:user) { FactoryBot.create(:user) }

Loading…
Cancel
Save