summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/lib/gitlab/ldap/authentication_spec.rb2
-rw-r--r--spec/lib/gitlab/popen_spec.rb2
-rw-r--r--spec/models/service_spec.rb4
-rw-r--r--spec/services/git_push_service_spec.rb6
-rw-r--r--spec/services/git_tag_push_service_spec.rb6
-rw-r--r--spec/services/system_hooks_service_spec.rb12
-rw-r--r--spec/services/test_hook_service_spec.rb6
7 files changed, 19 insertions, 19 deletions
diff --git a/spec/lib/gitlab/ldap/authentication_spec.rb b/spec/lib/gitlab/ldap/authentication_spec.rb
index 8afc2b21f46..e98b5955321 100644
--- a/spec/lib/gitlab/ldap/authentication_spec.rb
+++ b/spec/lib/gitlab/ldap/authentication_spec.rb
@@ -50,4 +50,4 @@ describe Gitlab::LDAP::Authentication do
expect(klass.login(login, '')).to be_falsey
end
end
-end \ No newline at end of file
+end
diff --git a/spec/lib/gitlab/popen_spec.rb b/spec/lib/gitlab/popen_spec.rb
index cd9d0456b25..4f733533a4d 100644
--- a/spec/lib/gitlab/popen_spec.rb
+++ b/spec/lib/gitlab/popen_spec.rb
@@ -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)
diff --git a/spec/models/service_spec.rb b/spec/models/service_spec.rb
index 5d4827ce92a..d44f094a313 100644
--- a/spec/models/service_spec.rb
+++ b/spec/models/service_spec.rb
@@ -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(
diff --git a/spec/services/git_push_service_spec.rb b/spec/services/git_push_service_spec.rb
index d0941fa2e07..2807d735eec 100644
--- a/spec/services/git_push_service_spec.rb
+++ b/spec/services/git_push_service_spec.rb
@@ -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
diff --git a/spec/services/git_tag_push_service_spec.rb b/spec/services/git_tag_push_service_spec.rb
index 76f69b396e0..eed50c7ebac 100644
--- a/spec/services/git_tag_push_service_spec.rb
+++ b/spec/services/git_tag_push_service_spec.rb
@@ -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
diff --git a/spec/services/system_hooks_service_spec.rb b/spec/services/system_hooks_service_spec.rb
index 199ac996608..48c49e2f717 100644
--- a/spec/services/system_hooks_service_spec.rb
+++ b/spec/services/system_hooks_service_spec.rb
@@ -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) }
diff --git a/spec/services/test_hook_service_spec.rb b/spec/services/test_hook_service_spec.rb
index d2b505f55a2..226196eedae 100644
--- a/spec/services/test_hook_service_spec.rb
+++ b/spec/services/test_hook_service_spec.rb
@@ -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