Permalink
Browse files

Fix misspelling of 'deprecation' in plugin_generator.

  • Loading branch information...
dougireton authored and josevalim committed Nov 16, 2010
1 parent ace84a0 commit ecd0310e1422170c4fea6dccf60a42273bce779e
@@ -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
@@ -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

0 comments on commit ecd0310

Please sign in to comment.