Commit d6cecf7a authored by Alfredo Sumaran's avatar Alfredo Sumaran

Fix failing tests

parent 91e6bc12
...@@ -60,25 +60,25 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps ...@@ -60,25 +60,25 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
end end
step 'I should see label \'feature\'' do step 'I should see label \'feature\'' do
page.within '.manage-labels-list' do page.within '.other-labels .manage-labels-list' do
expect(page).to have_content 'feature' expect(page).to have_content 'feature'
end end
end end
step 'I should see label \'bug\'' do step 'I should see label \'bug\'' do
page.within '.manage-labels-list' do page.within '.other-labels .manage-labels-list' do
expect(page).to have_content 'bug' expect(page).to have_content 'bug'
end end
end end
step 'I should not see label \'bug\'' do step 'I should not see label \'bug\'' do
page.within '.manage-labels-list' do page.within '.other-labels .manage-labels-list' do
expect(page).not_to have_content 'bug' expect(page).not_to have_content 'bug'
end end
end end
step 'I should see label \'support\'' do step 'I should see label \'support\'' do
page.within '.manage-labels-list' do page.within '.other-labels .manage-labels-list' do
expect(page).to have_content 'support' expect(page).to have_content 'support'
end end
end end
...@@ -90,7 +90,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps ...@@ -90,7 +90,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
end end
step 'I should see label \'fix\'' do step 'I should see label \'fix\'' do
page.within '.manage-labels-list' do page.within '.other-labels .manage-labels-list' do
expect(page).to have_content 'fix' expect(page).to have_content 'fix'
end end
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