Fixed Tests + Reverted Try out from before
This commit is contained in:
parent
da0df23654
commit
d63aebb7ec
|
@ -17,6 +17,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
|
|||
end
|
||||
|
||||
step 'I should see project "Community" home page' do
|
||||
Gitlab.config.gitlab.should_receive(:host).and_return("www.example.com")
|
||||
page.within '.breadcrumbs .breadcrumb-item-text' do
|
||||
expect(page).to have_content 'Community'
|
||||
end
|
||||
|
|
|
@ -165,8 +165,8 @@ feature 'Jobs' do
|
|||
|
||||
it 'links to issues/new with the title and description filled in' do
|
||||
button_title = "Job Failed ##{job.id}"
|
||||
job_url = project_job_url(project, job)
|
||||
options = { issue: { title: button_title, description: "Job [##{job.id}](#{ job_url}) failed for #{job.sha}:\n" } }
|
||||
job_url = project_job_path(project, job)
|
||||
options = { issue: { title: button_title, description: "Job [##{job.id}](#{job_url}) failed for #{job.sha}:\n" } }
|
||||
|
||||
href = new_project_issue_path(project, options)
|
||||
|
||||
|
|
Loading…
Reference in New Issue