diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-12-18 13:21:24 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-12-18 14:39:50 +0530 |
commit | 7bae2921ec51335ec87fde1980a1b568ce37fc1c (patch) | |
tree | 1e9d2893e4f66177415077d9b53fa14ddee04eb0 /actionpack/lib/action_dispatch/testing | |
parent | c141dfc838a5dca9f197814410fa5d44c143129c (diff) | |
download | rails-7bae2921ec51335ec87fde1980a1b568ce37fc1c.tar.gz rails-7bae2921ec51335ec87fde1980a1b568ce37fc1c.tar.bz2 rails-7bae2921ec51335ec87fde1980a1b568ce37fc1c.zip |
Change all `MiniTest` to `Minitest` since, `MiniTest` namespace has been renamed to `Minitest`
Ref: https://github.com/seattlerb/minitest/blob/master/History.txt
Diffstat (limited to 'actionpack/lib/action_dispatch/testing')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index 496682e8bd..f1f998d932 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -211,7 +211,7 @@ module ActionDispatch def fail_on(exception_class) yield rescue exception_class => e - raise MiniTest::Assertion, e.message + raise Minitest::Assertion, e.message end end end diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 9beb30307b..57ccb18452 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -137,7 +137,7 @@ module ActionDispatch class Session DEFAULT_HOST = "www.example.com" - include MiniTest::Assertions + include Minitest::Assertions include TestProcess, RequestHelpers, Assertions %w( status status_message headers body redirect? ).each do |method| |