Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix misspelling of 'deprecation' in plugin_generator.

  • Loading branch information...
commit ecd0310e1422170c4fea6dccf60a42273bce779e 1 parent ace84a0
@dougireton dougireton authored josevalim committed
View
2  railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -8,7 +8,7 @@ class PluginGenerator < NamedBase
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
View
2  railties/test/generators/plugin_generator_test.rb
@@ -66,6 +66,6 @@ def test_plugin_generator_on_revoke
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
Please sign in to comment.
Something went wrong with that request. Please try again.