Skip to content

Commit

Permalink
Add "a" to make it better English
Browse files Browse the repository at this point in the history
[#3796 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information
radar authored and spastorino committed Oct 7, 2010
1 parent db52004 commit 1e63a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion railties/lib/rails/plugin.rb
Expand Up @@ -83,7 +83,7 @@ def config

initializer :sanity_check_railties_collision do
if Engine.subclasses.map { |k| k.root.to_s }.include?(root.to_s)
raise "\"#{name}\" is a Railtie/Engine and cannot be installed as plugin"
raise "\"#{name}\" is a Railtie/Engine and cannot be installed as a plugin"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion railties/test/railties/plugin_test.rb
Expand Up @@ -110,7 +110,7 @@ class Engine < Rails::Engine
boot_rails
rescue Exception => e
rescued = true
assert_equal '"bukkits" is a Railtie/Engine and cannot be installed as plugin', e.message
assert_equal '"bukkits" is a Railtie/Engine and cannot be installed as a plugin', e.message
end

assert rescued, "Expected boot rails to fail"
Expand Down

0 comments on commit 1e63a05

Please sign in to comment.