summaryrefslogtreecommitdiff
path: root/features/steps/admin/projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/admin/projects.rb')
-rw-r--r--features/steps/admin/projects.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/admin/projects.rb b/features/steps/admin/projects.rb
index 992aa46a8bc..2fd6385fe7b 100644
--- a/features/steps/admin/projects.rb
+++ b/features/steps/admin/projects.rb
@@ -1,19 +1,19 @@
-class AdminProjects < Spinach::FeatureSteps
+class Spinach::Features::AdminProjects < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedAdmin
- And 'I should see all projects' do
+ step 'I should see all projects' do
Project.all.each do |p|
page.should have_content p.name_with_namespace
end
end
- And 'I click on first project' do
+ step 'I click on first project' do
click_link Project.first.name_with_namespace
end
- Then 'I should see project details' do
+ step 'I should see project details' do
project = Project.first
current_path.should == admin_project_path(project)
page.should have_content(project.name_with_namespace)