diff options
Diffstat (limited to 'spec/models/lfs_objects_project_spec.rb')
-rw-r--r-- | spec/models/lfs_objects_project_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/lfs_objects_project_spec.rb b/spec/models/lfs_objects_project_spec.rb index 7378beeed06..c9b43a55ca7 100644 --- a/spec/models/lfs_objects_project_spec.rb +++ b/spec/models/lfs_objects_project_spec.rb @@ -31,7 +31,7 @@ RSpec.describe LfsObjectsProject do expect do result = described_class.link_to_project!(subject.lfs_object, subject.project) - expect(result).to be_a(LfsObjectsProject) + expect(result).to be_a(described_class) end.not_to change { described_class.count } end |