diff --git a/spec/features/organisation_spec.rb b/spec/features/organisation_spec.rb index 810a3d53d..a9f8b8f0e 100644 --- a/spec/features/organisation_spec.rb +++ b/spec/features/organisation_spec.rb @@ -236,7 +236,7 @@ RSpec.describe "User Features" do expect { organisation.reload }.to raise_error(ActiveRecord::RecordNotFound) expect { CaseLog.find(log_to_delete.id) }.to raise_error(ActiveRecord::RecordNotFound) expect { CaseLog.find(scheme_to_delete.id) }.to raise_error(ActiveRecord::RecordNotFound) - expect { CaseLog.find(user.id) }.to raise_error(ActiveRecord::RecordNotFound) + expect { CaseLog.find(user.id) }.to raise_error(ActiveRecord::RecordNotFound) end end end