Non-interactive AWS install by running a single script.
Merge branch 'master' into non-interactive-aws-install Conflicts: doc/installation.md Fix merge mess in installation.md
This commit is contained in:
parent
eae41ad1df
commit
b80dd3d242
215 changed files with 3829 additions and 3348 deletions
|
@ -91,36 +91,24 @@ Then /^I should see my merge requests$/ do
|
|||
end
|
||||
|
||||
Given /^I have assigned issues$/ do
|
||||
project1 = Factory :project,
|
||||
:path => "project1",
|
||||
:code => "gitlabhq_1"
|
||||
|
||||
project2 = Factory :project,
|
||||
:path => "project2",
|
||||
:code => "gitlabhq_2"
|
||||
|
||||
project1.add_access(@user, :read, :write)
|
||||
project2.add_access(@user, :read, :write)
|
||||
project = Factory :project
|
||||
project.add_access(@user, :read, :write)
|
||||
|
||||
issue1 = Factory :issue,
|
||||
:author => @user,
|
||||
:assignee => @user,
|
||||
:project => project1
|
||||
:project => project
|
||||
|
||||
issue2 = Factory :issue,
|
||||
:author => @user,
|
||||
:assignee => @user,
|
||||
:project => project2
|
||||
:project => project
|
||||
end
|
||||
|
||||
Given /^I have authored merge requests$/ do
|
||||
project1 = Factory :project,
|
||||
:path => "project1",
|
||||
:code => "gitlabhq_1"
|
||||
project1 = Factory :project
|
||||
|
||||
project2 = Factory :project,
|
||||
:path => "project2",
|
||||
:code => "gitlabhq_2"
|
||||
project2 = Factory :project
|
||||
|
||||
project1.add_access(@user, :read, :write)
|
||||
project2.add_access(@user, :read, :write)
|
||||
|
|
|
@ -16,7 +16,7 @@ end
|
|||
|
||||
Given /^I submit new ssh key "(.*?)"$/ do |arg1|
|
||||
fill_in "key_title", :with => arg1
|
||||
fill_in "key_key", :with => "publickey234="
|
||||
fill_in "key_key", :with => "ssh-rsa publickey234="
|
||||
click_button "Save"
|
||||
end
|
||||
|
||||
|
|
|
@ -33,6 +33,25 @@ Given /^I visit issue page "(.*?)"$/ do |arg1|
|
|||
end
|
||||
|
||||
Given /^I submit new issue "(.*?)"$/ do |arg1|
|
||||
fill_in "issue_title", :with => arg1
|
||||
fill_in "issue_title", with: arg1
|
||||
click_button "Submit new issue"
|
||||
end
|
||||
|
||||
Given /^project "(.*?)" have issues tags:$/ do |arg1, table|
|
||||
project = Project.find_by_name(arg1)
|
||||
table.hashes.each do |hash|
|
||||
Factory :issue,
|
||||
project: project,
|
||||
label_list: [hash[:name]]
|
||||
end
|
||||
end
|
||||
|
||||
Given /^I visit project "(.*?)" labels page$/ do |arg1|
|
||||
visit project_labels_path(Project.find_by_name(arg1))
|
||||
end
|
||||
|
||||
Then /^I should see label "(.*?)"$/ do |arg1|
|
||||
within ".labels-table" do
|
||||
page.should have_content arg1
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
include LoginMacros
|
||||
include LoginHelpers
|
||||
|
||||
Given /^I signin as a user$/ do
|
||||
login_as :user
|
||||
|
@ -57,6 +57,11 @@ end
|
|||
|
||||
Given /^I visit project "(.*?)" network page$/ do |arg1|
|
||||
project = Project.find_by_name(arg1)
|
||||
|
||||
# Stub out find_all to speed this up (10 commits vs. 650)
|
||||
commits = Grit::Commit.find_all(project.repo, nil, {max_count: 10})
|
||||
Grit::Commit.stub(:find_all).and_return(commits)
|
||||
|
||||
visit graph_project_path(project)
|
||||
end
|
||||
|
||||
|
@ -67,8 +72,8 @@ end
|
|||
Given /^page should have network graph$/ do
|
||||
page.should have_content "Project Network Graph"
|
||||
within ".graph" do
|
||||
page.should have_content "stable"
|
||||
page.should have_content "notes_refacto..."
|
||||
page.should have_content "master"
|
||||
page.should have_content "scss_refactor..."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue