1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Rafael Mendonça França 2012-10-04 17:47:36 -03:00
parent a216f918b2
commit 4b33bbc803

View file

@ -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