test/cases/action_controller_test.rb in minitest-spec-rails-4.7.3 vs test/cases/action_controller_test.rb in minitest-spec-rails-4.7.4

- old
+ new

@@ -11,13 +11,13 @@ it 'matches spec type for strings' do assert_controller MiniTest::Spec.spec_type("WidgetController") assert_controller MiniTest::Spec.spec_type("WidgetControllerTest") assert_controller MiniTest::Spec.spec_type("Widget Controller Test") - # And is not case sensitive - assert_controller MiniTest::Spec.spec_type("widgetcontroller") - assert_controller MiniTest::Spec.spec_type("widgetcontrollertest") - assert_controller MiniTest::Spec.spec_type("widget controller test") + # And is case sensitive + refute_controller MiniTest::Spec.spec_type("widgetcontroller") + refute_controller MiniTest::Spec.spec_type("widgetcontrollertest") + refute_controller MiniTest::Spec.spec_type("widget controller test") end it 'wont match spec type for non space characters' do refute_controller MiniTest::Spec.spec_type("Widget Controller\tTest") refute_controller MiniTest::Spec.spec_type("Widget Controller\rTest")