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/test/assertions | |
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/test/assertions')
-rw-r--r-- | actionpack/test/assertions/response_assertions_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/test/assertions/response_assertions_test.rb b/actionpack/test/assertions/response_assertions_test.rb index 8eec98e916..5e64cae7e2 100644 --- a/actionpack/test/assertions/response_assertions_test.rb +++ b/actionpack/test/assertions/response_assertions_test.rb @@ -19,7 +19,7 @@ module ActionDispatch @response = FakeResponse.new sym assert_response sym - assert_raises(MiniTest::Assertion) { + assert_raises(Minitest::Assertion) { assert_response :unauthorized } end @@ -29,11 +29,11 @@ module ActionDispatch @response = FakeResponse.new 400 assert_response 400 - assert_raises(MiniTest::Assertion) { + assert_raises(Minitest::Assertion) { assert_response :unauthorized } - assert_raises(MiniTest::Assertion) { + assert_raises(Minitest::Assertion) { assert_response 500 } end @@ -42,11 +42,11 @@ module ActionDispatch @response = FakeResponse.new 401 assert_response :unauthorized - assert_raises(MiniTest::Assertion) { + assert_raises(Minitest::Assertion) { assert_response :ok } - assert_raises(MiniTest::Assertion) { + assert_raises(Minitest::Assertion) { assert_response :success } end |