From 1fe7501b49f896b74102c4b970310aa9ae34da85 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 22 Feb 2017 16:50:15 -0600 Subject: Revert "Prefer leading style for Style/DotPosition" This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b. --- spec/features/atom/dashboard_spec.rb | 4 ++-- spec/features/atom/issues_spec.rb | 8 ++++---- spec/features/atom/users_spec.rb | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'spec/features/atom') diff --git a/spec/features/atom/dashboard_spec.rb b/spec/features/atom/dashboard_spec.rb index 4ed06bb3a32..746df36bb25 100644 --- a/spec/features/atom/dashboard_spec.rb +++ b/spec/features/atom/dashboard_spec.rb @@ -28,8 +28,8 @@ describe "Dashboard Feed", feature: true do end it "has issue comment event" do - expect(body) - .to have_content("#{user.name} commented on issue ##{issue.iid}") + expect(body). + to have_content("#{user.name} commented on issue ##{issue.iid}") end end end diff --git a/spec/features/atom/issues_spec.rb b/spec/features/atom/issues_spec.rb index 6caaa703ae0..a01a050a013 100644 --- a/spec/features/atom/issues_spec.rb +++ b/spec/features/atom/issues_spec.rb @@ -17,8 +17,8 @@ describe 'Issues Feed', feature: true do login_with user visit namespace_project_issues_path(project.namespace, project, :atom) - expect(response_headers['Content-Type']) - .to have_content('application/atom+xml') + expect(response_headers['Content-Type']). + to have_content('application/atom+xml') expect(body).to have_selector('title', text: "#{project.name} issues") expect(body).to have_selector('author email', text: issue.author_email) expect(body).to have_selector('entry summary', text: issue.title) @@ -30,8 +30,8 @@ describe 'Issues Feed', feature: true do visit namespace_project_issues_path(project.namespace, project, :atom, private_token: user.private_token) - expect(response_headers['Content-Type']) - .to have_content('application/atom+xml') + expect(response_headers['Content-Type']). + to have_content('application/atom+xml') expect(body).to have_selector('title', text: "#{project.name} issues") expect(body).to have_selector('author email', text: issue.author_email) expect(body).to have_selector('entry summary', text: issue.title) diff --git a/spec/features/atom/users_spec.rb b/spec/features/atom/users_spec.rb index 9b569e83257..f8c3ccb416b 100644 --- a/spec/features/atom/users_spec.rb +++ b/spec/features/atom/users_spec.rb @@ -48,8 +48,8 @@ describe "User Feed", feature: true do end it 'has issue comment event' do - expect(body) - .to have_content("#{safe_name} commented on issue ##{issue.iid}") + expect(body). + to have_content("#{safe_name} commented on issue ##{issue.iid}") end it 'has XHTML summaries in issue descriptions' do -- cgit v1.2.3