Remove unnecessary whitespace between let and (

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-06-22 14:39:07 +02:00
parent f167f37e5a
commit cf259cdb43
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
7 changed files with 19 additions and 19 deletions

View file

@ -50,4 +50,4 @@ describe Gitlab::LDAP::Authentication do
expect(klass.login(login, '')).to be_falsey
end
end
end
end

View file

@ -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)

View file

@ -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(

View file

@ -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

View file

@ -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

View file

@ -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) }

View file

@ -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