diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-27 19:37:47 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-27 19:38:17 -0800 |
commit | 452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe (patch) | |
tree | 5145ae6ce81a817e29b96134b3adae75898ba30a /railties/test/generators | |
parent | 079714277df4641a24513b2595c0237293f48512 (diff) | |
download | rails-452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe.tar.gz rails-452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe.tar.bz2 rails-452bb1e48d7fa3dd4b2684d9d8ba3091200d59fe.zip |
Rename 'defaults' class method to 'default' to reflect that it's a declaration
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/mailer_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/mailer_generator_test.rb b/railties/test/generators/mailer_generator_test.rb index e76ac5fb7d..e6fc1bbb5c 100644 --- a/railties/test/generators/mailer_generator_test.rb +++ b/railties/test/generators/mailer_generator_test.rb @@ -9,7 +9,7 @@ class MailerGeneratorTest < Rails::Generators::TestCase run_generator assert_file "app/mailers/notifier.rb" do |mailer| assert_match /class Notifier < ActionMailer::Base/, mailer - assert_match /defaults :from => "from@example.com"/, mailer + assert_match /default :from => "from@example.com"/, mailer end end |