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'
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
......
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) }
......
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
......
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