Skip to content

Commit

Permalink
Use String#exclude? to make sure that Active Support is not loaded when
Browse files Browse the repository at this point in the history
bare is true.

We need to change this since coffee-rails loads ActionView that loads
core_ext/array/access.
  • Loading branch information
rafaelfranca committed Oct 4, 2012
1 parent a216f91 commit 4b33bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/application/initializers/frameworks_test.rb
Expand Up @@ -175,7 +175,7 @@ def from_bar_helper


Dir.chdir("#{app_path}/app") do Dir.chdir("#{app_path}/app") do
require "#{app_path}/config/environment" require "#{app_path}/config/environment"
assert_raises(NoMethodError) { [1,2,3].forty_two } assert_raises(NoMethodError) { "hello".exclude? "lo" }
end end
end end


Expand Down

0 comments on commit 4b33bbc

Please sign in to comment.