aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorMartin O'Connor <martinoc@gmail.com>2012-05-30 21:56:09 -0400
committerMartin O'Connor <martinoc@gmail.com>2012-05-30 21:56:09 -0400
commit9bbdceb34d33aa31567447e43b5fb5ea638e14fa (patch)
tree606bd96e651b33f1cb580f04f9499f565115fed5 /railties/test
parent4c8805d60e85e89852da9f1df1dd6f82bc2df957 (diff)
downloadrails-9bbdceb34d33aa31567447e43b5fb5ea638e14fa.tar.gz
rails-9bbdceb34d33aa31567447e43b5fb5ea638e14fa.tar.bz2
rails-9bbdceb34d33aa31567447e43b5fb5ea638e14fa.zip
Changed symbol platform to platforms for the commented out call to gem 'therubyracer'.
Dependency.rb expects the symbol to be named :platforms as opposed to platform. RubyMine's inspections indicate that the symbol should be named :platforms. Updating tests.
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/app_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 5bf1dbda8d..90a49e8085 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -253,7 +253,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
if defined?(JRUBY_VERSION)
assert_file "Gemfile", /gem\s+["']therubyrhino["']$/
else
- assert_file "Gemfile", /# gem\s+["']therubyracer["']+, :platform => :ruby$/
+ assert_file "Gemfile", /# gem\s+["']therubyracer["']+, :platforms => :ruby$/
end
end