summaryrefslogtreecommitdiff
path: root/features/steps/project/create.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-22 20:56:12 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-22 20:56:12 +0300
commitc31c8c55a4b805932ff24e08dc4cdacb497b1a82 (patch)
treef4654ca2c6872015fb1346f5318c9c2d5140e18d /features/steps/project/create.rb
parentfbdf34d7abc678435ab4a603e93dcc83cb89a981 (diff)
parentef6e94e37e0fce23acf32992476aeb63405be0c1 (diff)
downloadgitlab-ce-c31c8c55a4b805932ff24e08dc4cdacb497b1a82.tar.gz
Merge branch 'spinach-step' of https://github.com/cirosantilli/gitlabhq into cirosantilli-spinach-step
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: features/steps/project/markdown_render.rb
Diffstat (limited to 'features/steps/project/create.rb')
-rw-r--r--features/steps/project/create.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/features/steps/project/create.rb b/features/steps/project/create.rb
index 11cb7236842..bcd2524c205 100644
--- a/features/steps/project/create.rb
+++ b/features/steps/project/create.rb
@@ -2,41 +2,41 @@ class Spinach::Features::CreateProject < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
- And 'fill project form with valid data' do
+ step 'fill project form with valid data' do
fill_in 'project_name', with: 'Empty'
click_button "Create project"
end
- Then 'I should see project page' do
+ step 'I should see project page' do
page.should have_content "Empty"
current_path.should == project_path(Project.last)
end
- And 'I should see empty project instuctions' do
+ step 'I should see empty project instuctions' do
page.should have_content "git init"
page.should have_content "git remote"
page.should have_content Project.last.url_to_repo
end
- Then 'I see empty project instuctions' do
+ step 'I see empty project instuctions' do
page.should have_content "git init"
page.should have_content "git remote"
page.should have_content Project.last.url_to_repo
end
- And 'I click on HTTP' do
+ step 'I click on HTTP' do
click_button 'HTTP'
end
- Then 'Remote url should update to http link' do
+ step 'Remote url should update to http link' do
page.should have_content "git remote add origin #{Project.last.http_url_to_repo}"
end
- And 'If I click on SSH' do
+ step 'If I click on SSH' do
click_button 'SSH'
end
- Then 'Remote url should update to ssh link' do
+ step 'Remote url should update to ssh link' do
page.should have_content "git remote add origin #{Project.last.url_to_repo}"
end
end