Commit c2f104000615f1f68ca9be61825add098265053f
1 parent
8457415e
Exists in
master
and in
4 other branches
Few fixes to spinach tests
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
app/views/groups/_projects.html.haml
| @@ -3,9 +3,9 @@ | @@ -3,9 +3,9 @@ | ||
| 3 | Projects (#{projects.count}) | 3 | Projects (#{projects.count}) |
| 4 | - if can? current_user, :manage_group, @group | 4 | - if can? current_user, :manage_group, @group |
| 5 | %span.pull-right | 5 | %span.pull-right |
| 6 | - = link_to new_project_path(namespace_id: @group.id), class: "btn" do | 6 | + = link_to new_project_path(namespace_id: @group.id), class: "btn btn-new" do |
| 7 | %i.icon-plus | 7 | %i.icon-plus |
| 8 | - New Project | 8 | + New project |
| 9 | %ul.well-list | 9 | %ul.well-list |
| 10 | - if projects.blank? | 10 | - if projects.blank? |
| 11 | %p.nothing_here_message This groups has no projects yet | 11 | %p.nothing_here_message This groups has no projects yet |
features/steps/dashboard/dashboard.rb
| @@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps | @@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps | ||
| 4 | include SharedProject | 4 | include SharedProject |
| 5 | 5 | ||
| 6 | Then 'I should see "New Project" link' do | 6 | Then 'I should see "New Project" link' do |
| 7 | - page.should have_link "New Project" | 7 | + page.should have_link "New project" |
| 8 | end | 8 | end |
| 9 | 9 | ||
| 10 | Then 'I should see "Shop" project link' do | 10 | Then 'I should see "Shop" project link' do |
features/steps/group/group.rb
| @@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps | @@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps | ||
| 67 | end | 67 | end |
| 68 | 68 | ||
| 69 | When 'I click new group link' do | 69 | When 'I click new group link' do |
| 70 | - click_link "New Group" | 70 | + click_link "New group" |
| 71 | end | 71 | end |
| 72 | 72 | ||
| 73 | And 'submit form with new group info' do | 73 | And 'submit form with new group info' do |