Skip to content

Commit

Permalink
Test deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Apr 25, 2019
1 parent 867a6f2 commit 284933e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/minitest_spec_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 284933e

Please sign in to comment.