Commit c2f10400 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Few fixes to spinach tests

parent 8457415e
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
Projects (#{projects.count}) Projects (#{projects.count})
- if can? current_user, :manage_group, @group - if can? current_user, :manage_group, @group
%span.pull-right %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 %i.icon-plus
New Project New project
%ul.well-list %ul.well-list
- if projects.blank? - if projects.blank?
%p.nothing_here_message This groups has no projects yet %p.nothing_here_message This groups has no projects yet
......
...@@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps ...@@ -4,7 +4,7 @@ class Dashboard < Spinach::FeatureSteps
include SharedProject include SharedProject
Then 'I should see "New Project" link' do Then 'I should see "New Project" link' do
page.should have_link "New Project" page.should have_link "New project"
end end
Then 'I should see "Shop" project link' do Then 'I should see "Shop" project link' do
......
...@@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps ...@@ -67,7 +67,7 @@ class Groups < Spinach::FeatureSteps
end end
When 'I click new group link' do When 'I click new group link' do
click_link "New Group" click_link "New group"
end end
And 'submit form with new group info' do And 'submit form with new group info' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment