lib/rspec/rails/example/request_example_group.rb in rspec-rails-2.0.0.beta.1 vs lib/rspec/rails/example/request_example_group.rb in rspec-rails-2.0.0.beta.2
- old
+ new
@@ -9,15 +9,15 @@
include Rspec::Rails::Matchers
def self.included(mod)
mod.before do
@_result = Struct.new(:add_assertion).new
- @router = Rails.application.routes
+ @router = ::Rails.application.routes
end
end
def app
- Rails.application
+ ::Rails.application
end
Webrat.configure do |config|
config.mode = :rack
end