Skip to content

Commit

Permalink
Use top level Rails constant
Browse files Browse the repository at this point in the history
  • Loading branch information
vongruenigen committed Oct 1, 2012
1 parent cdd8a58 commit cd145de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest/rails/action_dispatch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class IntegrationTest < MiniTest::Rails::ActiveSupport::TestCase
def self.app
# DEPRECATE Rails application fallback
# This should be set by the initializer
@@app || (defined?(Rails.application) && Rails.application) || nil
@@app || (defined?(::Rails.application) && ::Rails.application) || nil
end

def self.app=(app)
Expand Down

0 comments on commit cd145de

Please sign in to comment.