BigW Consortium Gitlab

Commit 973e6a7f by Sean McGivern

Merge branch 'fix-performance_bar-specs' into 'master'

Fix performance bar specs See merge request !12225
parents 4eb6b7c1 a67bf93b
require 'rails_helper' require 'rails_helper'
describe 'User can display performacne bar', :js do describe 'User can display performance bar', :js do
shared_examples 'performance bar is disabled' do shared_examples 'performance bar is disabled' do
it 'does not show the performance bar by default' do it 'does not show the performance bar by default' do
expect(page).not_to have_css('#peek') expect(page).not_to have_css('#peek')
...@@ -27,8 +27,8 @@ describe 'User can display performacne bar', :js do ...@@ -27,8 +27,8 @@ describe 'User can display performacne bar', :js do
find('body').native.send_keys('pb') find('body').native.send_keys('pb')
end end
it 'does not show the performance bar by default' do it 'shows the performance bar' do
expect(page).not_to have_css('#peek') expect(page).to have_css('#peek')
end end
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