diff --git a/spec/minitest_spec_spec.rb b/spec/minitest_spec_spec.rb index b57b0a7cb..1a133d7d4 100644 --- a/spec/minitest_spec_spec.rb +++ b/spec/minitest_spec_spec.rb @@ -124,6 +124,7 @@ class MinitestSpecTest < Minitest::Spec it 'supports style expectations' do skip "Rack test doesn't support style" if Capybara.current_driver == :rack_test visit('/with_html') + find(:css, '#second').must_have_style('display' => 'inline') # deprecated find(:css, '#second').must_match_style('display' => 'inline') end end