diff options
author | SUGINO Yasuhiro <suginoyasuhiro@gmail.com> | 2013-09-13 17:44:35 +0900 |
---|---|---|
committer | SUGINO Yasuhiro <suginoyasuhiro@gmail.com> | 2013-09-13 20:44:37 +0900 |
commit | 4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78 (patch) | |
tree | 535bd413184a171331eda7f371347036c012b00a /railties/test/application | |
parent | 489a0890b6dbb8c7954e2a3b120fe31de64f156c (diff) | |
download | rails-4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78.tar.gz rails-4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78.tar.bz2 rails-4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78.zip |
Fix typos: the indefinite articles(a -> an)
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/assets_test.rb | 4 | ||||
-rw-r--r-- | railties/test/application/multiple_applications_test.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index 4de8fcaa38..035535ce22 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -293,7 +293,7 @@ module ApplicationTests test "precompile should handle utf8 filenames" do filename = "レイルズ.png" - app_file "app/assets/images/#{filename}", "not a image really" + app_file "app/assets/images/#{filename}", "not an image really" add_to_config "config.assets.precompile = [ /\.png$/, /application.(css|js)$/ ]" precompile! @@ -305,7 +305,7 @@ module ApplicationTests require "#{app_path}/config/environment" get "/assets/#{URI.parser.escape(asset_path)}" - assert_match "not a image really", last_response.body + assert_match "not an image really", last_response.body assert_file_exists("#{app_path}/public/assets/#{asset_path}") end diff --git a/railties/test/application/multiple_applications_test.rb b/railties/test/application/multiple_applications_test.rb index 03c343c475..5bfea599e0 100644 --- a/railties/test/application/multiple_applications_test.rb +++ b/railties/test/application/multiple_applications_test.rb @@ -110,7 +110,7 @@ module ApplicationTests assert_equal 0, $run_count, "Without loading the initializers, the count should be 0" - # Set config.eager_load to false so that a eager_load warning doesn't pop up + # Set config.eager_load to false so that an eager_load warning doesn't pop up AppTemplate::Application.new { config.eager_load = false }.initialize! assert_equal 3, $run_count, "There should have been three initializers that incremented the count" |