test/configuration_controller_test.rb in twurl-0.6.3 vs test/configuration_controller_test.rb in twurl-0.6.4

- old
+ new

@@ -1,8 +1,8 @@ require File.dirname(__FILE__) + '/test_helper' -class Twurl::ConfigurationController::DispatchTest < Test::Unit::TestCase +class Twurl::ConfigurationController::DispatchTest < MiniTest::Unit::TestCase 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,11 +13,11 @@ controller = Twurl::ConfigurationController.new(client, options) controller.dispatch end end -class Twurl::ConfigurationController::DispatchDefaultSettingTest < Test::Unit::TestCase +class Twurl::ConfigurationController::DispatchDefaultSettingTest < MiniTest::Unit::TestCase def test_setting_default_profile_just_by_username options = Twurl::Options.test_exemplar client = Twurl::OAuthClient.test_exemplar options.subcommands = ['default', client.username] @@ -39,6 +39,6 @@ mock(Twurl::OAuthClient.rcfile).save.times(1) controller = Twurl::ConfigurationController.new(client, options) controller.dispatch end -end \ No newline at end of file +end