Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-07-06 19:43:51 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-07-06 19:43:51 +0300
commiteef068754af7437baf327c5cb4e2b454ba40a617 (patch)
tree3583327140b2994432de317b4ac06d66b274b430 /spec/features/atom
parent9eeba8fb49c5da7cf0b2c22bc33cbd33a83918ed (diff)
parent9274c3c1598f3ff32339e681d5812feeb0f62605 (diff)
Merge branch 'master' into rs-sign_in
Diffstat (limited to 'spec/features/atom')
-rw-r--r--spec/features/atom/issues_spec.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/features/atom/issues_spec.rb b/spec/features/atom/issues_spec.rb
index 22a0ebd3531..011fdce21d8 100644
--- a/spec/features/atom/issues_spec.rb
+++ b/spec/features/atom/issues_spec.rb
@@ -30,7 +30,8 @@ describe 'Issues Feed', feature: true do
context 'when authenticated via private token' do
it 'renders atom feed' do
- visit project_issues_path(project, :atom, private_token: user.private_token)
+ visit project_issues_path(project, :atom,
+ private_token: user.private_token)
expect(response_headers['Content-Type'])
.to have_content('application/atom+xml')
@@ -44,7 +45,8 @@ describe 'Issues Feed', feature: true do
context 'when authenticated via RSS token' do
it 'renders atom feed' do
- visit project_issues_path(project, :atom, rss_token: user.rss_token)
+ visit project_issues_path(project, :atom,
+ rss_token: user.rss_token)
expect(response_headers['Content-Type'])
.to have_content('application/atom+xml')
@@ -57,7 +59,8 @@ describe 'Issues Feed', feature: true do
end
it "renders atom feed with url parameters for project issues" do
- visit project_issues_path(project, :atom, rss_token: user.rss_token, state: 'opened', assignee_id: user.id)
+ visit project_issues_path(project,
+ :atom, rss_token: user.rss_token, state: 'opened', assignee_id: user.id)
link = find('link[type="application/atom+xml"]')
params = CGI.parse(URI.parse(link[:href]).query)