aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing
diff options
context:
space:
mode:
authorMarcin Olichwirowicz <olichwirowicz@gmail.com>2015-08-25 00:03:47 +0200
committerMarcin Olichwirowicz <olichwirowicz@gmail.com>2015-08-25 09:28:06 +0200
commit00234f5619443eba7bdcdb1706a0c19e0056b556 (patch)
tree431487d8a1dcbd279beaa556123cf05eac28a770 /actionpack/test/dispatch/routing
parent1c1ad2b74600579e255bcb34e9926de2a76ac61a (diff)
downloadrails-00234f5619443eba7bdcdb1706a0c19e0056b556.tar.gz
rails-00234f5619443eba7bdcdb1706a0c19e0056b556.tar.bz2
rails-00234f5619443eba7bdcdb1706a0c19e0056b556.zip
Get rid of mocha tests - part 2
Diffstat (limited to 'actionpack/test/dispatch/routing')
-rw-r--r--actionpack/test/dispatch/routing/inspector_test.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/actionpack/test/dispatch/routing/inspector_test.rb b/actionpack/test/dispatch/routing/inspector_test.rb
index 4047214843..24bd4b04ec 100644
--- a/actionpack/test/dispatch/routing/inspector_test.rb
+++ b/actionpack/test/dispatch/routing/inspector_test.rb
@@ -12,12 +12,6 @@ module ActionDispatch
class RoutesInspectorTest < ActiveSupport::TestCase
def setup
@set = ActionDispatch::Routing::RouteSet.new
- app = ActiveSupport::OrderedOptions.new
- app.config = ActiveSupport::OrderedOptions.new
- app.config.assets = ActiveSupport::OrderedOptions.new
- app.config.assets.prefix = '/sprockets'
- Rails.stubs(:application).returns(app)
- Rails.stubs(:env).returns("development")
end
def draw(options = {}, &block)
@@ -316,9 +310,6 @@ module ActionDispatch
def test_inspect_routes_shows_resources_route_when_assets_disabled
@set = ActionDispatch::Routing::RouteSet.new
- app = ActiveSupport::OrderedOptions.new
-
- Rails.stubs(:application).returns(app)
output = draw do
get '/cart', to: 'cart#show'