Skip to content

Commit

Permalink
MiniTest -> Minitest
Browse files Browse the repository at this point in the history
  • Loading branch information
glaszig committed Jan 31, 2024
1 parent d73a52c commit fbfbb8a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/central_ict_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end

module SmsKit
class CentralICTTest < MiniTest::Test
class CentralICTTest < Minitest::Test

def text_message
{ text: 'foo bar', to: 12345 }
Expand Down
2 changes: 1 addition & 1 deletion test/config_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class TestProvider
include SmsKit::Config
end

class ConfigTest < MiniTest::Test
class ConfigTest < Minitest::Test

def test_config
TestProvider.config.username = 'foo'
Expand Down
2 changes: 1 addition & 1 deletion test/delivery_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'helper'

class DeliveryTest < MiniTest::Test
class DeliveryTest < Minitest::Test

def test_delivery
VCR.use_cassette 'mobi_web/quick_deliver' do
Expand Down
2 changes: 1 addition & 1 deletion test/http_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def connection
end
end

class HttpTest < MiniTest::Test
class HttpTest < Minitest::Test

def setup
@default = ExampleProvider.new
Expand Down
2 changes: 1 addition & 1 deletion test/logging_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class MockLogger < Logger; end

class LoggingTest < MiniTest::Test
class LoggingTest < Minitest::Test

def teardown
SmsKit.logger = Logger.new '/dev/null'
Expand Down
2 changes: 1 addition & 1 deletion test/mobi_web_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end

module SmsKit
class MobiWebTest < MiniTest::Test
class MobiWebTest < Minitest::Test

def vcr_options
{ match_requests_on: [
Expand Down
2 changes: 1 addition & 1 deletion test/mobimex_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
end

module SmsKit
class MobimexTest < MiniTest::Test
class MobimexTest < Minitest::Test

def text_message
{ text: 'foo bar', to: 12345, from: 6789 }
Expand Down
2 changes: 1 addition & 1 deletion test/provider_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def deliver options = {}

SmsKit.register stub_provider: StubProvider

class ProviderTest < MiniTest::Test
class ProviderTest < Minitest::Test

def test_takes_options
assert_equal :bar, ExampleProvider.new(foo: :bar).data[:foo]
Expand Down
2 changes: 1 addition & 1 deletion test/sms_trade_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end

module SmsKit
class SmsTradeTest < MiniTest::Test
class SmsTradeTest < Minitest::Test

def vcr_options
{ match_requests_on: [ VCR.request_matchers.uri_without_params(:key) ] }
Expand Down
2 changes: 1 addition & 1 deletion test/utils_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class Foo; end

class UtilsTest < MiniTest::Test
class UtilsTest < Minitest::Test

def test_register
SmsKit.register foo: Foo
Expand Down

0 comments on commit fbfbb8a

Please sign in to comment.