Skip to content
Browse files

Ensure that init.rb is evaled in context of Engine

  • Loading branch information...
1 parent 092b148 commit e4bd7ed2fa60a0dbb03bbdea6fa532c6ea0ee704 @drogus drogus committed
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

0 comments on commit e4bd7ed

Please sign in to comment.
Something went wrong with that request. Please try again.