Comments cucumber. More refactoring. Cucumber -> branches, tags

This commit is contained in:
Dmitriy Zaporozhets 2012-08-03 19:59:55 +03:00 committed by randx
parent 1281c122c7
commit 9844ddd43f
16 changed files with 80 additions and 192 deletions

View file

@ -32,15 +32,6 @@ Given /^I visit issue page "(.*?)"$/ do |arg1|
visit project_issue_path(issue.project, issue)
end
Given /^I leave a comment like "(.*?)"$/ do |arg1|
fill_in "note_note", :with => arg1
click_button "Add Comment"
end
Then /^I should see commetn "(.*?)"$/ do |arg1|
page.should have_content(arg1)
end
Given /^I submit new issue "(.*?)"$/ do |arg1|
fill_in "issue_title", :with => arg1
click_button "Submit new issue"