Commit e6f1eef4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix group tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 4f9669cd
...@@ -38,22 +38,22 @@ class Groups < Spinach::FeatureSteps ...@@ -38,22 +38,22 @@ class Groups < Spinach::FeatureSteps
end end
Then 'I should see user "John Doe" in team list' do Then 'I should see user "John Doe" in team list' do
projects_with_access = find(".ui-box .well-list") projects_with_access = find(".panel .well-list")
projects_with_access.should have_content("John Doe") projects_with_access.should have_content("John Doe")
end end
Then 'I should not see user "John Doe" in team list' do Then 'I should not see user "John Doe" in team list' do
projects_with_access = find(".ui-box .well-list") projects_with_access = find(".panel .well-list")
projects_with_access.should_not have_content("John Doe") projects_with_access.should_not have_content("John Doe")
end end
Then 'I should see user "Mary Jane" in team list' do Then 'I should see user "Mary Jane" in team list' do
projects_with_access = find(".ui-box .well-list") projects_with_access = find(".panel .well-list")
projects_with_access.should have_content("Mary Jane") projects_with_access.should have_content("Mary Jane")
end end
Then 'I should not see user "Mary Jane" in team list' do Then 'I should not see user "Mary Jane" in team list' do
projects_with_access = find(".ui-box .well-list") projects_with_access = find(".panel .well-list")
projects_with_access.should_not have_content("Mary Jane") projects_with_access.should_not have_content("Mary Jane")
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment