You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe "bar", :model do
it "baz" do
puts 1
end
end
ruby bar_test.rb -v says the name is bar::model#test_0001_baz
but running ruby bar_test.rb -n 'bar::model#test_0001_baz' does not work
only ruby bar_test.rb -n 'test_0001_baz' does
this breaks running tests by line via minitest-line because it correctly uses bar::model#test_0001_baz
also tried Minitest::Spec::DSL::TYPES[0] = [//, ActiveSupport::TestCase] and it has the same effect, the describe part is gone
The text was updated successfully, but these errors were encountered:
before matching Minitest::Spec:
run via
ruby -n bar_test.rb 'bar#test_0001_baz'
after matching ActiveSupport::TestCase:
ruby bar_test.rb -v
says the name isbar::model#test_0001_baz
but running
ruby bar_test.rb -n 'bar::model#test_0001_baz'
does not workonly
ruby bar_test.rb -n 'test_0001_baz'
doesthis breaks running tests by line via minitest-line because it correctly uses
bar::model#test_0001_baz
also tried
Minitest::Spec::DSL::TYPES[0] = [//, ActiveSupport::TestCase]
and it has the same effect, the describe part is goneThe text was updated successfully, but these errors were encountered: