diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-08-25 21:46:30 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-08-25 21:46:30 +0200 |
commit | 7ee60d4c5b658f123bfc5ea5a144ab5fc89c9a6c (patch) | |
tree | f007513d31688af7d5bcc671fa6654aae962c460 /actionpack/test/dispatch/routing | |
parent | c5a88e50040fd8f7aa5b8d246fc5f8f1c77836fc (diff) | |
parent | 00234f5619443eba7bdcdb1706a0c19e0056b556 (diff) | |
download | rails-7ee60d4c5b658f123bfc5ea5a144ab5fc89c9a6c.tar.gz rails-7ee60d4c5b658f123bfc5ea5a144ab5fc89c9a6c.tar.bz2 rails-7ee60d4c5b658f123bfc5ea5a144ab5fc89c9a6c.zip |
Merge pull request #21368 from rodzyn/remove_mocha
Get rid of mocha tests in actionpack - part 2
Diffstat (limited to 'actionpack/test/dispatch/routing')
-rw-r--r-- | actionpack/test/dispatch/routing/inspector_test.rb | 9 |
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' |