mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-21 17:30:49 +00:00
rename test files with test_prefix
update rakefile
This commit is contained in:
parent
ca17d337f1
commit
8943c1bedc
2
rakefile
2
rakefile
@ -3,7 +3,7 @@ require "rake/testtask"
|
|||||||
HERE = __dir__
|
HERE = __dir__
|
||||||
|
|
||||||
Rake::TestTask.new do |t|
|
Rake::TestTask.new do |t|
|
||||||
t.pattern = "test/**/*_test.rb"
|
t.pattern = "test/test_*.rb"
|
||||||
end
|
end
|
||||||
|
|
||||||
task default: :test
|
task default: :test
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
require "minitest/autorun"
|
require "minitest/autorun"
|
||||||
|
require "voicemeeter"
|
||||||
require_relative "../lib/voicemeeter"
|
|
||||||
|
|
||||||
class Test
|
class Test
|
||||||
class << self
|
class << self
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
require_relative "minitest_helper"
|
require_relative "minitest_helper"
|
||||||
require_relative "../lib/voicemeeter"
|
require "voicemeeter"
|
||||||
|
|
||||||
class CAPIErrorTest < Minitest::Test
|
class CAPIErrorTest < Minitest::Test
|
||||||
def test_it_raises_an_unknown_parameter_error
|
def test_it_raises_an_unknown_parameter_error
|
Loading…
Reference in New Issue
Block a user