-
-
Save anonymous/e8dcad79ded2c4dc35b7 to your computer and use it in GitHub Desktop.
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
class SomeCrazyClassThatHasNothingToDoWithOurSpec; end | |
module MyMod | |
def foo; end | |
end | |
describe MyMod do | |
it{ is_expected.to respond_to :foo } #=> fails | |
end | |
class SomeCrazyClassThatHasNothingToDoWithOurSpec | |
include MyMod | |
end | |
describe MyMod do | |
it{ is_expected.to respond_to :foo } #=> passes | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment