Commit cf259cdb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove unnecessary whitespace between let and (

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f167f37e
require 'spec_helper' require 'spec_helper'
describe 'Gitlab::Popen', no_db: true do describe 'Gitlab::Popen', no_db: true do
let (:path) { Rails.root.join('tmp').to_s } let(:path) { Rails.root.join('tmp').to_s }
before do before do
@klass = Class.new(Object) @klass = Class.new(Object)
......
...@@ -36,7 +36,7 @@ describe Service do ...@@ -36,7 +36,7 @@ describe Service do
end end
describe "Testable" do describe "Testable" do
let (:project) { create :project } let(:project) { create :project }
before do before do
@service.stub( @service.stub(
...@@ -51,7 +51,7 @@ describe Service do ...@@ -51,7 +51,7 @@ describe Service do
end end
describe "With commits" do describe "With commits" do
let (:project) { create :project } let(:project) { create :project }
before do before do
@service.stub( @service.stub(
......
...@@ -3,9 +3,9 @@ require 'spec_helper' ...@@ -3,9 +3,9 @@ require 'spec_helper'
describe GitPushService do describe GitPushService do
include RepoHelpers include RepoHelpers
let (:user) { create :user } let(:user) { create :user }
let (:project) { create :project } let(:project) { create :project }
let (:service) { GitPushService.new } let(:service) { GitPushService.new }
before do before do
@blankrev = Gitlab::Git::BLANK_SHA @blankrev = Gitlab::Git::BLANK_SHA
......
...@@ -3,9 +3,9 @@ require 'spec_helper' ...@@ -3,9 +3,9 @@ require 'spec_helper'
describe GitTagPushService do describe GitTagPushService do
include RepoHelpers include RepoHelpers
let (:user) { create :user } let(:user) { create :user }
let (:project) { create :project } let(:project) { create :project }
let (:service) { GitTagPushService.new } let(:service) { GitTagPushService.new }
before do before do
@oldrev = Gitlab::Git::BLANK_SHA @oldrev = Gitlab::Git::BLANK_SHA
......
require 'spec_helper' require 'spec_helper'
describe SystemHooksService do describe SystemHooksService do
let (:user) { create :user } let(:user) { create :user }
let (:project) { create :project } let(:project) { create :project }
let (:project_member) { create :project_member } let(:project_member) { create :project_member }
let (:key) { create(:key, user: user) } let(:key) { create(:key, user: user) }
let (:group) { create(:group) } let(:group) { create(:group) }
let (:group_member) { create(:group_member) } let(:group_member) { create(:group_member) }
context 'event data' do context 'event data' do
it { expect(event_data(user, :create)).to include(:event_name, :name, :created_at, :email, :user_id) } it { expect(event_data(user, :create)).to include(:event_name, :name, :created_at, :email, :user_id) }
......
require 'spec_helper' require 'spec_helper'
describe TestHookService do describe TestHookService do
let (:user) { create :user } let(:user) { create :user }
let (:project) { create :project } let(:project) { create :project }
let (:hook) { create :project_hook, project: project } let(:hook) { create :project_hook, project: project }
describe :execute do describe :execute do
it "should execute successfully" do it "should execute successfully" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment