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 | 6 | |
7 | 7 | %ul.nav.nav-tabs.log-tabs |
8 | 8 | %li.active |
9 | - = link_to "Features", "#features", 'data-toggle' => 'tab' | |
10 | - %li | |
11 | 9 | = link_to "Maintenance", "#maintenance", 'data-toggle' => 'tab' |
12 | 10 | %li |
13 | 11 | = link_to "User Management", "#user_management", 'data-toggle' => 'tab' |
... | ... | @@ -17,16 +15,7 @@ |
17 | 15 | = link_to "Cleanup", "#cleanup", 'data-toggle' => 'tab' |
18 | 16 | |
19 | 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 | 19 | .file-holder |
31 | 20 | .file-title |
32 | 21 | %i.icon-file |
... | ... | @@ -57,7 +46,7 @@ |
57 | 46 | .file-holder |
58 | 47 | .file-title |
59 | 48 | %i.icon-file |
60 | - Backup & Restore | |
49 | + Backup & Restore | |
61 | 50 | .file-content.wiki |
62 | 51 | = preserve do |
63 | 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 | 16 | end |
17 | 17 | |
18 | 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 | 20 | end |
21 | 21 | end | ... | ... |