aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/initializers
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-06-24 01:55:58 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-06-24 02:04:00 -0700
commit0b3dd5718ca4de5773d9e54e6b3b51f7ba83823c (patch)
treef718d2d8eeed502f6bce922508d38a9796346a19 /railties/test/application/initializers
parent4883082ff1d3f73666c284e8c4bce4a2a12b36c1 (diff)
downloadrails-0b3dd5718ca4de5773d9e54e6b3b51f7ba83823c.tar.gz
rails-0b3dd5718ca4de5773d9e54e6b3b51f7ba83823c.tar.bz2
rails-0b3dd5718ca4de5773d9e54e6b3b51f7ba83823c.zip
Array#sample now exists, so test for #forty_two instead
Diffstat (limited to 'railties/test/application/initializers')
-rw-r--r--railties/test/application/initializers/frameworks_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/initializers/frameworks_test.rb b/railties/test/application/initializers/frameworks_test.rb
index 35ea2729d3..604c50ec2d 100644
--- a/railties/test/application/initializers/frameworks_test.rb
+++ b/railties/test/application/initializers/frameworks_test.rb
@@ -57,7 +57,7 @@ module ApplicationTests
Dir.chdir("#{app_path}/app") do
require "#{app_path}/config/environment"
- assert_raises(NoMethodError) { [1,2,3].sample }
+ assert_raises(NoMethodError) { [1,2,3].forty_two }
end
end