diff options
author | Doug Ireton <dougireton@gmail.com> | 2010-11-16 13:20:25 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-11-16 15:37:29 +0800 |
commit | ecd0310e1422170c4fea6dccf60a42273bce779e (patch) | |
tree | ae48abf7398524015ee0155b63b6c43c70d853b8 /railties | |
parent | ace84a003cb48f60ca478c05c1fd8a57d37663cf (diff) | |
download | rails-ecd0310e1422170c4fea6dccf60a42273bce779e.tar.gz rails-ecd0310e1422170c4fea6dccf60a42273bce779e.tar.bz2 rails-ecd0310e1422170c4fea6dccf60a42273bce779e.zip |
Fix misspelling of 'deprecation' in plugin_generator.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/plugin_generator.rb | 2 | ||||
-rw-r--r-- | railties/test/generators/plugin_generator_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb index a3387b8a57..97f681d826 100644 --- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb +++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb @@ -8,7 +8,7 @@ module Rails def show_deprecation return unless behavior == :invoke - message = "Plugin generator is depreacted, please use 'rails plugin new' command to generate plugin structure." + message = "Plugin generator is deprecated, please use 'rails plugin new' command to generate plugin structure." ActiveSupport::Deprecation.warn message end diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index e31a116af3..e6686a6af4 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -66,6 +66,6 @@ class PluginGeneratorTest < Rails::Generators::TestCase def test_deprecation output = capture(:stderr) { run_generator } - assert_match /Plugin generator is depreacted, please use 'rails plugin new' command to generate plugin structure./, output + assert_match /Plugin generator is deprecated, please use 'rails plugin new' command to generate plugin structure./, output end end |