Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure that init.rb is evaled in context of Engine

  • Loading branch information...
commit e4bd7ed2fa60a0dbb03bbdea6fa532c6ea0ee704 1 parent 092b148
@drogus drogus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/railties/engine_test.rb
View
2  railties/test/railties/engine_test.rb
@@ -120,7 +120,7 @@ class Engine < ::Rails::Engine
RUBY
@plugin.write "lib/bukkits/plugins/yaffle/init.rb", <<-RUBY
- Bukkits::Engine.config.yaffle_loaded = true
+ config.yaffle_loaded = true
RUBY
boot_rails
Please sign in to comment.
Something went wrong with that request. Please try again.