Skip to content

Commit d31cc42

Browse files
committed
Use contain_exactly in Rails 5.2
1 parent ac3ee59 commit d31cc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/rails_5.2.4.1_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148

149149
puts `#{command}`
150150

151-
expect(git.diff.entries).to include(an_object_having_attributes(task_routes))
151+
expect(git.diff.entries).to contain_exactly(an_object_having_attributes(task_routes))
152152
end
153153
end
154154
end

0 commit comments

Comments
 (0)