Skip to content

Commit 38bf539

Browse files
author
Jon Yurek
committed
Update the spec example to use except syntax
1 parent 3577108 commit 38bf539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

style/samples/testing.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe SomeClass, '#some_method' do
22
it 'does something' do
3-
something.should eq 'something'
3+
expect(something).to eq 'something'
44
end
55
end
66

0 commit comments

Comments
 (0)