test/configuration_controller_test.rb in twurl-0.8.1 vs test/configuration_controller_test.rb in twurl-0.8.2
- old
+ new
@@ -1,8 +1,8 @@
require File.dirname(__FILE__) + '/test_helper'
-class Twurl::ConfigurationController::DispatchTest < MiniTest::Unit::TestCase
+class Twurl::ConfigurationController::DispatchTest < Minitest::Test
def test_error_message_is_displayed_if_setting_is_unrecognized
options = Twurl::Options.test_exemplar
client = Twurl::OAuthClient.test_exemplar
options.subcommands = ['unrecognized', 'value']
@@ -13,10 +13,10 @@
controller = Twurl::ConfigurationController.new(client, options)
controller.dispatch
end
end
-class Twurl::ConfigurationController::DispatchDefaultSettingTest < MiniTest::Unit::TestCase
+class Twurl::ConfigurationController::DispatchDefaultSettingTest < Minitest::Test
def test_setting_default_profile_just_by_username
options = Twurl::Options.test_exemplar
client = Twurl::OAuthClient.test_exemplar
options.subcommands = ['default', client.username]