diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb
index <HASH>..<HASH> 100644
--- a/railties/test/railties/engine_test.rb
+++ b/railties/test/railties/engine_test.rb
@@ -120,7 +120,7 @@ module RailtiesTest
       RUBY
 
       @plugin.write "lib/bukkits/plugins/yaffle/init.rb", <<-RUBY
-        Bukkits::Engine.config.yaffle_loaded = true
+        config.yaffle_loaded = true
       RUBY
 
       boot_rails
Ensure that init.rb is evaled in context of Engine