Commit c5f91476 authored by Clement Ho's avatar Clement Ho

Fix pipelines spec

parent dfafd305
...@@ -163,7 +163,7 @@ describe 'Pipeline', :js do ...@@ -163,7 +163,7 @@ describe 'Pipeline', :js do
end end
it 'shows Pipeline tab as active' do it 'shows Pipeline tab as active' do
expect(page).to have_css('.js-pipeline-tab-link.active') expect(page).to have_css('.js-pipeline-tab-link .active')
end end
end end
...@@ -259,7 +259,7 @@ describe 'Pipeline', :js do ...@@ -259,7 +259,7 @@ describe 'Pipeline', :js do
end end
it 'shows Jobs tab as active' do it 'shows Jobs tab as active' do
expect(page).to have_css('li.js-builds-tab-link.active') expect(page).to have_css('li.js-builds-tab-link .active')
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