1
0
Fork 0

Add step definition

This commit is contained in:
Alex Kotov 2019-02-23 03:13:27 +05:00
parent d2812c6e1d
commit c27cf291ba
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ Then 'I see text {string}' do |text|
expect(page).to have_content text
end
Then 'I do not see text {string}' do |text|
expect(page).not_to have_content text
end
Then 'I see CSS {string} with text {string}' do |selector, text|
expect(page).to have_css selector, text: text
end