Skip to content

Commit 12f767b

Browse files
committed
Replace have with size
1 parent 5702bcb commit 12f767b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/base_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def hello
6565

6666
describe "#arguments" do
6767
it "returns the arguments for the class" do
68-
expect(MyCounter.arguments).to have(2).items
68+
expect(MyCounter.arguments.size).to be(2)
6969
end
7070
end
7171

0 commit comments

Comments
 (0)