Created
April 15, 2009 00:09
-
-
Save Bill/95507 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
# the approved way to add methods to example groups in rspec | |
# from David Chelimsky's comment here http://www.benmabey.com/2008/06/08/writing-macros-in-rspec/ | |
Spec::Runner.configure do |config| | |
config.include(AssignMacro, :type => :controllers) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment