diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-03 11:29:00 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-03 11:29:00 +0300 |
commit | 973e6a7f283bb8b8a0cc8f347a082856486429e5 (patch) | |
tree | 3ad89247a0de68e2bbfdc11adaf6f15519b51515 /spec | |
parent | 4eb6b7c13755a8f73508f290f8f869cf05a15271 (diff) | |
parent | a67bf93b78ce8aa0bc61aab5a2008983746d4a62 (diff) |
Merge branch 'fix-performance_bar-specs' into 'master'
Fix performance bar specs
See merge request !12225
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/user_can_display_performance_bar_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/user_can_display_performance_bar_spec.rb b/spec/features/user_can_display_performance_bar_spec.rb index 1bd7e038939..24fff1a3052 100644 --- a/spec/features/user_can_display_performance_bar_spec.rb +++ b/spec/features/user_can_display_performance_bar_spec.rb @@ -1,6 +1,6 @@ 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 |