Commit bbc4b2be8db5166ce54a81e6f25ffe48fa293a5f
1 parent
5a1429ae
Exists in
spb-stable
and in
2 other branches
Fix help tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
3 additions
and
14 deletions
Show diff stats
app/views/help/raketasks.html.haml
| @@ -6,8 +6,6 @@ | @@ -6,8 +6,6 @@ | ||
| 6 | 6 | ||
| 7 | %ul.nav.nav-tabs.log-tabs | 7 | %ul.nav.nav-tabs.log-tabs |
| 8 | %li.active | 8 | %li.active |
| 9 | - = link_to "Features", "#features", 'data-toggle' => 'tab' | ||
| 10 | - %li | ||
| 11 | = link_to "Maintenance", "#maintenance", 'data-toggle' => 'tab' | 9 | = link_to "Maintenance", "#maintenance", 'data-toggle' => 'tab' |
| 12 | %li | 10 | %li |
| 13 | = link_to "User Management", "#user_management", 'data-toggle' => 'tab' | 11 | = link_to "User Management", "#user_management", 'data-toggle' => 'tab' |
| @@ -17,16 +15,7 @@ | @@ -17,16 +15,7 @@ | ||
| 17 | = link_to "Cleanup", "#cleanup", 'data-toggle' => 'tab' | 15 | = link_to "Cleanup", "#cleanup", 'data-toggle' => 'tab' |
| 18 | 16 | ||
| 19 | .tab-content | 17 | .tab-content |
| 20 | - .tab-pane.active#features | ||
| 21 | - .file-holder | ||
| 22 | - .file-title | ||
| 23 | - %i.icon-file | ||
| 24 | - Features | ||
| 25 | - .file-content.wiki | ||
| 26 | - = preserve do | ||
| 27 | - = markdown File.read(Rails.root.join("doc", "raketasks", "features.md")) | ||
| 28 | - | ||
| 29 | - .tab-pane#maintenance | 18 | + .tab-pane.active#maintenance |
| 30 | .file-holder | 19 | .file-holder |
| 31 | .file-title | 20 | .file-title |
| 32 | %i.icon-file | 21 | %i.icon-file |
| @@ -57,7 +46,7 @@ | @@ -57,7 +46,7 @@ | ||
| 57 | .file-holder | 46 | .file-holder |
| 58 | .file-title | 47 | .file-title |
| 59 | %i.icon-file | 48 | %i.icon-file |
| 60 | - Backup & Restore | 49 | + Backup & Restore |
| 61 | .file-content.wiki | 50 | .file-content.wiki |
| 62 | = preserve do | 51 | = preserve do |
| 63 | = markdown File.read(Rails.root.join("doc", "raketasks", "backup_restore.md")) | 52 | = markdown File.read(Rails.root.join("doc", "raketasks", "backup_restore.md")) |
features/steps/help.rb
| @@ -16,6 +16,6 @@ class Spinach::Features::Help < Spinach::FeatureSteps | @@ -16,6 +16,6 @@ class Spinach::Features::Help < Spinach::FeatureSteps | ||
| 16 | end | 16 | end |
| 17 | 17 | ||
| 18 | step 'Header "Rebuild project satellites" should have correct ids and links' do | 18 | step 'Header "Rebuild project satellites" should have correct ids and links' do |
| 19 | - header_should_have_correct_id_and_link(3, 'Rebuild project satellites', 'rebuild-project-satellites') | 19 | + header_should_have_correct_id_and_link(3, '(Re-)Create satellite repos', 're-create-satellite-repos') |
| 20 | end | 20 | end |
| 21 | end | 21 | end |