diff --git a/bridgetown_credentials.gemspec b/bridgetown_credentials.gemspec index b628885..297e2c4 100644 --- a/bridgetown_credentials.gemspec +++ b/bridgetown_credentials.gemspec @@ -51,7 +51,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'debug' spec.add_development_dependency 'rake' spec.add_development_dependency 'minitest' - spec.add_development_dependency 'minitest-sound' + spec.add_development_dependency 'minitest-flash' spec.add_development_dependency 'minitest-focus' spec.add_development_dependency 'guard' spec.add_development_dependency 'guard-minitest' diff --git a/spec/sounds/failure.mp3 b/spec/sounds/failure.mp3 deleted file mode 100644 index 412e5f4..0000000 Binary files a/spec/sounds/failure.mp3 and /dev/null differ diff --git a/spec/sounds/success.mp3 b/spec/sounds/success.mp3 deleted file mode 100644 index 73e2f0f..0000000 Binary files a/spec/sounds/success.mp3 and /dev/null differ diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0af1da4..c2e4187 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -11,11 +11,9 @@ require 'minitest/autorun' require Pathname(__dir__).join('..', 'lib', 'bridgetown_credentials') -require 'minitest/sound' -Minitest::Sound.success = Pathname(__dir__).join('sounds', 'success.mp3').to_s -Minitest::Sound.failure = Pathname(__dir__).join('sounds', 'failure.mp3').to_s - +require 'minitest/flash' require 'minitest/focus' + class Minitest::Spec class << self alias_method :context, :describe