Fix test for network shortcut

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-12-09 17:47:45 +01:00
parent 2cb542b9d3
commit 2c61e3c057
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
3 changed files with 6 additions and 5 deletions

View file

@ -19,7 +19,8 @@ Feature: Project Shortcuts
@javascript
Scenario: Navigate to network tab
Given I press "g" and "n"
Then the active main tab should be Network
Then the active sub tab should be Network
And the active main tab should be Commits
@javascript
Scenario: Navigate to graphs tab

View file

@ -67,10 +67,6 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
ensure_active_sub_tab('Commits')
end
step 'the active sub tab should be Network' do
ensure_active_sub_tab('Network')
end
step 'the active sub tab should be Compare' do
ensure_active_sub_tab('Compare')
end

View file

@ -49,4 +49,8 @@ module SharedProjectTab
step 'the active main tab should be Activity' do
ensure_active_main_tab('Activity')
end
step 'the active sub tab should be Network' do
ensure_active_sub_tab('Network')
end
end