Tests for dashboard projects fixed

This commit is contained in:
Andrew8xx8 2013-03-12 15:15:14 +04:00
parent 804ae05c58
commit fce22dfa2f
3 changed files with 9 additions and 7 deletions

View file

@ -11,7 +11,10 @@ class Dashboard < Spinach::FeatureSteps
Given 'I search for "Sho"' do
fill_in "dashboard_projects_search", with: "Sho"
click_button "Search"
within ".dashboard-search-filter" do
find('button').click
end
end
Then 'I should see "Shop" project link' do