Remove unnecessary whitespace between let and (
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f167f37e5a
commit
cf259cdb43
7 changed files with 19 additions and 19 deletions
|
@ -50,4 +50,4 @@ describe Gitlab::LDAP::Authentication do
|
|||
expect(klass.login(login, '')).to be_falsey
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
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
|
||||
@klass = Class.new(Object)
|
||||
|
|
|
@ -36,7 +36,7 @@ describe Service do
|
|||
end
|
||||
|
||||
describe "Testable" do
|
||||
let (:project) { create :project }
|
||||
let(:project) { create :project }
|
||||
|
||||
before do
|
||||
@service.stub(
|
||||
|
@ -51,7 +51,7 @@ describe Service do
|
|||
end
|
||||
|
||||
describe "With commits" do
|
||||
let (:project) { create :project }
|
||||
let(:project) { create :project }
|
||||
|
||||
before do
|
||||
@service.stub(
|
||||
|
|
|
@ -3,9 +3,9 @@ require 'spec_helper'
|
|||
describe GitPushService do
|
||||
include RepoHelpers
|
||||
|
||||
let (:user) { create :user }
|
||||
let (:project) { create :project }
|
||||
let (:service) { GitPushService.new }
|
||||
let(:user) { create :user }
|
||||
let(:project) { create :project }
|
||||
let(:service) { GitPushService.new }
|
||||
|
||||
before do
|
||||
@blankrev = Gitlab::Git::BLANK_SHA
|
||||
|
|
|
@ -3,9 +3,9 @@ require 'spec_helper'
|
|||
describe GitTagPushService do
|
||||
include RepoHelpers
|
||||
|
||||
let (:user) { create :user }
|
||||
let (:project) { create :project }
|
||||
let (:service) { GitTagPushService.new }
|
||||
let(:user) { create :user }
|
||||
let(:project) { create :project }
|
||||
let(:service) { GitTagPushService.new }
|
||||
|
||||
before do
|
||||
@oldrev = Gitlab::Git::BLANK_SHA
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe SystemHooksService do
|
||||
let (:user) { create :user }
|
||||
let (:project) { create :project }
|
||||
let (:project_member) { create :project_member }
|
||||
let (:key) { create(:key, user: user) }
|
||||
let (:group) { create(:group) }
|
||||
let (:group_member) { create(:group_member) }
|
||||
let(:user) { create :user }
|
||||
let(:project) { create :project }
|
||||
let(:project_member) { create :project_member }
|
||||
let(:key) { create(:key, user: user) }
|
||||
let(:group) { create(:group) }
|
||||
let(:group_member) { create(:group_member) }
|
||||
|
||||
context 'event data' do
|
||||
it { expect(event_data(user, :create)).to include(:event_name, :name, :created_at, :email, :user_id) }
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe TestHookService do
|
||||
let (:user) { create :user }
|
||||
let (:project) { create :project }
|
||||
let (:hook) { create :project_hook, project: project }
|
||||
let(:user) { create :user }
|
||||
let(:project) { create :project }
|
||||
let(:hook) { create :project_hook, project: project }
|
||||
|
||||
describe :execute do
|
||||
it "should execute successfully" do
|
||||
|
|
Loading…
Reference in a new issue