diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-13 05:55:28 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-13 05:55:28 -0700 |
commit | d891c19066bba3a614a27a92d55968174738e755 (patch) | |
tree | 225baa5c17095a8b3815538689ca2d88d2b63c13 /railties/test/application | |
parent | 1eebfc9f66149020efe23a620da110424e5a5c33 (diff) | |
parent | 4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78 (diff) | |
download | rails-d891c19066bba3a614a27a92d55968174738e755.tar.gz rails-d891c19066bba3a614a27a92d55968174738e755.tar.bz2 rails-d891c19066bba3a614a27a92d55968174738e755.zip |
Merge pull request #12216 from suginoy/a-an
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" |