Created
June 1, 2010 11:27
-
-
Save dtrasbo/420824 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# This: | |
require 'rails/generators' | |
Rails::Generators.fallbacks[:shoulda] = :test_unit | |
# and this: | |
config.generators do |g| | |
g.fallbacks[:shoulda] = :test_unit | |
end | |
# has the same effect because the config.generators block basically delegates to Rails::Generators |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment