mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Typos
This commit is contained in:
parent
67f9842b91
commit
e07fca587f
1 changed files with 2 additions and 2 deletions
|
@ -496,11 +496,11 @@ RSpec.shared_examples Capybara::RSpecMatchers do |session, _mode|
|
|||
expect(have_link('Just a link').description).to eq('have visible link "Just a link"')
|
||||
end
|
||||
|
||||
it 'passes if there is such a button' do
|
||||
it 'passes if there is such a link' do
|
||||
expect(html).to have_link('Just a link')
|
||||
end
|
||||
|
||||
it 'fails if there is no such button' do
|
||||
it 'fails if there is no such link' do
|
||||
expect do
|
||||
expect(html).to have_link('No such Link')
|
||||
end.to raise_error(/expected to find link "No such Link"/)
|
||||
|
|
Loading…
Reference in a new issue