Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit 4b33bbc80374e486467f9a7b76e34e4ab2ce0b50 1 parent a216f91
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/application/initializers/frameworks_test.rb
View
2  railties/test/application/initializers/frameworks_test.rb
@@ -175,7 +175,7 @@ def from_bar_helper
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
Please sign in to comment.
Something went wrong with that request. Please try again.