Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add "a" to make it better English

[#3796 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information...
commit 1e63a05d28fd7ebee2f962fc190d3e2af429dcb9 1 parent db52004
@radar radar authored spastorino committed
View
2  railties/lib/rails/plugin.rb
@@ -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
View
2  railties/test/railties/plugin_test.rb
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.