diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml index cbad2e3..16a3c60 100644 --- a/app/views/groups/_projects.html.haml +++ b/app/views/groups/_projects.html.haml @@ -3,9 +3,9 @@ Projects (#{projects.count}) - if can? current_user, :manage_group, @group %span.pull-right - = link_to new_project_path(namespace_id: @group.id), class: "btn" do + = link_to new_project_path(namespace_id: @group.id), class: "btn btn-new" do %i.icon-plus - New Project + New project %ul.well-list - if projects.blank? %p.nothing_here_message This groups has no projects yet diff --git a/features/steps/dashboard/dashboard.rb b/features/steps/dashboard/dashboard.rb index 596b5a7..5baf4e7 100644 --- a/features/steps/dashboard/dashboard.rb +++ b/features/steps/dashboard/dashboard.rb @@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps include SharedProject Then 'I should see "New Project" link' do - page.should have_link "New Project" + page.should have_link "New project" end Then 'I should see "Shop" project link' do diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index 6f18f61..45dda6f 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps end When 'I click new group link' do - click_link "New Group" + click_link "New group" end And 'submit form with new group info' do -- libgit2 0.21.2