提交 973e6a7f 编写于 作者: S Sean McGivern

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

Fix performance bar specs

See merge request !12225
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
it 'does not show the performance bar by default' do
expect(page).not_to have_css('#peek')
......@@ -27,8 +27,8 @@ describe 'User can display performacne bar', :js do
find('body').native.send_keys('pb')
end
it 'does not show the performance bar by default' do
expect(page).not_to have_css('#peek')
it 'shows the performance bar' do
expect(page).to have_css('#peek')
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册