Spinach tests fixed

This commit is contained in:
Andrew8xx8 2013-02-07 17:11:31 +04:00
parent 5f657203a1
commit b4648c3b52

View file

@ -8,7 +8,7 @@ class Userteams < Spinach::FeatureSteps
end end
Then 'I should see dashboard page without teams info block' do Then 'I should see dashboard page without teams info block' do
page.has_no_css?(".teams-box").must_equal true page.has_no_css?(".teams_box").must_equal true
end end
When 'I have teams with my membership' do When 'I have teams with my membership' do
@ -17,7 +17,7 @@ class Userteams < Spinach::FeatureSteps
end end
Then 'I should see dashboard page with teams information block' do Then 'I should see dashboard page with teams information block' do
page.should have_css(".teams-box") page.should have_css(".teams_box")
end end
When 'exist user teams' do When 'exist user teams' do