mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
User ordered minitest tests to work-around seed not being default set anymore
This commit is contained in:
parent
54fa362ee2
commit
b8705059b1
2 changed files with 9 additions and 1 deletions
|
|
@ -15,6 +15,10 @@ class MinitestTest < Minitest::Test
|
|||
Capybara.reset_sessions!
|
||||
end
|
||||
|
||||
def self.test_order
|
||||
:sorted
|
||||
end
|
||||
|
||||
def test_assert_text
|
||||
assert_text('Form', normalize_ws: false)
|
||||
assert_no_text('Not on the page')
|
||||
|
|
|
|||
|
|
@ -16,6 +16,10 @@ class MinitestSpecTest < Minitest::Spec
|
|||
Capybara.reset_sessions!
|
||||
end
|
||||
|
||||
def self.test_order
|
||||
:sorted
|
||||
end
|
||||
|
||||
it 'supports text expectations' do
|
||||
_(page).must_have_text('Form', minimum: 1)
|
||||
_(page).wont_have_text('Not a form')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue