Cucumber refactoring
This commit is contained in:
parent
21bfd1e7fc
commit
e4447de23f
13 changed files with 163 additions and 119 deletions
|
@ -1,9 +1,3 @@
|
|||
include LoginHelpers
|
||||
|
||||
Given /^I signin as a user$/ do
|
||||
login_as :user
|
||||
end
|
||||
|
||||
When /^I visit new project page$/ do
|
||||
visit new_project_path
|
||||
end
|
||||
|
@ -65,10 +59,6 @@ Given /^I visit project "(.*?)" network page$/ do |arg1|
|
|||
visit graph_project_path(project)
|
||||
end
|
||||
|
||||
Given /^show me page$/ do
|
||||
save_and_open_page
|
||||
end
|
||||
|
||||
Given /^page should have network graph$/ do
|
||||
page.should have_content "Project Network Graph"
|
||||
within ".graph" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue