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:
parent
a216f918b2
commit
4b33bbc803
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue