Skip to content

Instantly share code, notes, and snippets.

@vinibaggio
Created September 9, 2009 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinibaggio/183767 to your computer and use it in GitHub Desktop.
Save vinibaggio/183767 to your computer and use it in GitHub Desktop.
module FailingMacros
def self.included(base)
base.send(:extend, ClassMethods)
end
module ClassMethods
def should_indeed_fail
it "should indeed fail" do
fail "Just fail"
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment