Skip to content

Commit

Permalink
Drop minitest-sound in favor of minitest-flash
Browse files Browse the repository at this point in the history
  • Loading branch information
svoop committed Jan 19, 2024
1 parent 6766373 commit f449aaf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bridgetown_credentials.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Binary file removed spec/sounds/failure.mp3
Binary file not shown.
Binary file removed spec/sounds/success.mp3
Binary file not shown.
6 changes: 2 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f449aaf

Please sign in to comment.