This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Some step definitions
- Loading branch information
1 parent
0e1be75
commit 676b85f
Showing
3 changed files
with
33 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
Given /я нахожусь на странице регистрации/ do | ||
visit '/signup' | ||
end | ||
|
||
When /ввожу "(.*)" в поле "(.*)"$/ do |value, field| | ||
fill_in(field, :with => value) | ||
end | ||
|
||
When /нажимаю "(.*)"$/ do |button| | ||
click_button(button) | ||
end | ||
|
||
Then /должен увидеть "(.*)"$/ do |text| | ||
page.should have_content(text) | ||
end |