From bbc4b2be8db5166ce54a81e6f25ffe48fa293a5f Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 24 May 2014 14:26:15 +0300 Subject: [PATCH] Fix help tests Signed-off-by: Dmitriy Zaporozhets --- app/views/help/raketasks.html.haml | 15 ++------------- features/steps/help.rb | 2 +- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/app/views/help/raketasks.html.haml b/app/views/help/raketasks.html.haml index 17a02e913ee..61a3774a132 100644 --- a/app/views/help/raketasks.html.haml +++ b/app/views/help/raketasks.html.haml @@ -6,8 +6,6 @@ %ul.nav.nav-tabs.log-tabs %li.active - = link_to "Features", "#features", 'data-toggle' => 'tab' - %li = link_to "Maintenance", "#maintenance", 'data-toggle' => 'tab' %li = link_to "User Management", "#user_management", 'data-toggle' => 'tab' @@ -17,16 +15,7 @@ = link_to "Cleanup", "#cleanup", 'data-toggle' => 'tab' .tab-content - .tab-pane.active#features - .file-holder - .file-title - %i.icon-file - Features - .file-content.wiki - = preserve do - = markdown File.read(Rails.root.join("doc", "raketasks", "features.md")) - - .tab-pane#maintenance + .tab-pane.active#maintenance .file-holder .file-title %i.icon-file @@ -57,7 +46,7 @@ .file-holder .file-title %i.icon-file - Backup & Restore + Backup & Restore .file-content.wiki = preserve do = markdown File.read(Rails.root.join("doc", "raketasks", "backup_restore.md")) diff --git a/features/steps/help.rb b/features/steps/help.rb index aa147fd65ce..5ea2c5daeeb 100644 --- a/features/steps/help.rb +++ b/features/steps/help.rb @@ -16,6 +16,6 @@ class Spinach::Features::Help < Spinach::FeatureSteps end step 'Header "Rebuild project satellites" should have correct ids and links' do - header_should_have_correct_id_and_link(3, 'Rebuild project satellites', 'rebuild-project-satellites') + header_should_have_correct_id_and_link(3, '(Re-)Create satellite repos', 're-create-satellite-repos') end end