Commit a67bf93b authored by Rémy Coutable's avatar Rémy Coutable

Fix the performance bar spec that was not asserting the right thing

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5a983ac4
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