Created
August 25, 2015 09:46
-
-
Save rolandobrown/fa12a3f7bb78cf4b75c2 to your computer and use it in GitHub Desktop.
RSpec Syntax should_be Expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Old: my_object.should_not_be_a_kind_of(Foo) | |
New: expect(my_object).not_to be_a_kind_of(Foo) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment