diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-04 17:47:36 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-04 18:17:05 -0300 |
commit | 4b33bbc80374e486467f9a7b76e34e4ab2ce0b50 (patch) | |
tree | 1841d6f363c252089fee417869fa859af83f87a2 | |
parent | a216f918b2deeded17d65e4020ae98f0c4b349db (diff) | |
download | rails-4b33bbc80374e486467f9a7b76e34e4ab2ce0b50.tar.gz rails-4b33bbc80374e486467f9a7b76e34e4ab2ce0b50.tar.bz2 rails-4b33bbc80374e486467f9a7b76e34e4ab2ce0b50.zip |
Use String#exclude? to make sure that Active Support is not loaded when
bare is true.
We need to change this since coffee-rails loads ActionView that loads
core_ext/array/access.
-rw-r--r-- | railties/test/application/initializers/frameworks_test.rb | 2 |
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 5268257d62..81f6096be8 100644 --- a/railties/test/application/initializers/frameworks_test.rb +++ b/railties/test/application/initializers/frameworks_test.rb @@ -175,7 +175,7 @@ module ApplicationTests Dir.chdir("#{app_path}/app") do require "#{app_path}/config/environment" - assert_raises(NoMethodError) { [1,2,3].forty_two } + assert_raises(NoMethodError) { "hello".exclude? "lo" } end end |