BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2d8c4273
Commit
2d8c4273
authored
Sep 15, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix models/ci/mail_service_spec.rb
- Change Notify to Ci::Notify - Downgrade sidekiq to fix CE errors: otherwise we need to check deliverables
parent
757fdd34
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
Gemfile
Gemfile
+1
-1
Gemfile.lock
Gemfile.lock
+9
-9
mail_service_spec.rb
spec/models/ci/mail_service_spec.rb
+10
-10
No files found.
Gemfile
View file @
2d8c4273
...
...
@@ -128,7 +128,7 @@ gem 'acts-as-taggable-on', '~> 3.4'
# Background jobs
gem
'
slim
'
,
'~> 2.0.2'
gem
'
sinatra
'
,
'~> 1.4.4'
,
require:
nil
gem
'
sidekiq
'
,
'
~> 3.3
'
gem
'
sidekiq
'
,
'
3.3.0
'
gem
'
sidetiq
'
,
'~> 0.6.3'
# HTTP requests
...
...
Gemfile.lock
View file @
2d8c4273
...
...
@@ -338,7 +338,7 @@ GEM
hipchat (1.5.2)
httparty
mimemagic
hitimes (1.2.
2
)
hitimes (1.2.
3
)
html-pipeline (1.11.0)
activesupport (>= 2)
nokogiri (~> 1.4)
...
...
@@ -637,12 +637,12 @@ GEM
shellany (0.0.1)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
sidekiq (3.
4.2
)
celluloid (
~>
0.16.0)
connection_pool (
~> 2.2, >= 2.2
.0)
json
(~> 1.0)
redis (
~> 3.2, >= 3.2.1
)
redis-namespace (
~> 1.5, >= 1.5.2
)
sidekiq (3.
3.0
)
celluloid (
>=
0.16.0)
connection_pool (
>= 2.0
.0)
json
redis (
>= 3.0.6
)
redis-namespace (
>= 1.3.1
)
sidetiq (0.6.3)
celluloid (>= 0.14.1)
ice_cube (= 0.11.1)
...
...
@@ -710,7 +710,7 @@ GEM
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
timers (4.0.
1
)
timers (4.0.
4
)
hitimes
timfel-krb5-auth (0.8.3)
tinder (1.9.4)
...
...
@@ -896,7 +896,7 @@ DEPENDENCIES
settingslogic (~> 2.0.9)
sham_rack
shoulda-matchers (~> 2.8.0)
sidekiq (
~> 3.3
)
sidekiq (
= 3.3.0
)
sidetiq (~> 0.6.3)
simplecov (~> 0.10.0)
sinatra (~> 1.4.4)
...
...
spec/models/ci/mail_service_spec.rb
View file @
2d8c4273
...
...
@@ -47,8 +47,8 @@ describe Ci::MailService do
end
def
should_email
(
email
)
expect
(
Notify
).
to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
expect
(
Notify
).
not_to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
not_to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
end
end
...
...
@@ -69,8 +69,8 @@ describe Ci::MailService do
end
def
should_email
(
email
)
expect
(
Notify
).
to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
end
end
...
...
@@ -97,8 +97,8 @@ describe Ci::MailService do
end
def
should_email
(
email
)
expect
(
Notify
).
to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
end
end
...
...
@@ -125,8 +125,8 @@ describe Ci::MailService do
end
def
should_email
(
email
)
expect
(
Notify
).
not_to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
not_to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
end
end
...
...
@@ -176,8 +176,8 @@ describe Ci::MailService do
end
def
should_email
(
email
)
expect
(
Notify
).
not_to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
not_to
receive
(
:build_success_email
).
with
(
build
.
id
,
email
)
expect
(
Ci
::
Notify
).
not_to
receive
(
:build_fail_email
).
with
(
build
.
id
,
email
)
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment