Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9723a124
Commit
9723a124
authored
Apr 14, 2021
by
Nicolas Dular
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change includes to it_behaves_like
parent
826423aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ee/spec/workers/ee/namespaces/in_product_marketing_emails_worker_spec.rb
.../ee/namespaces/in_product_marketing_emails_worker_spec.rb
+4
-4
spec/workers/namespaces/in_product_marketing_emails_worker_spec.rb
...ers/namespaces/in_product_marketing_emails_worker_spec.rb
+2
-2
No files found.
ee/spec/workers/ee/namespaces/in_product_marketing_emails_worker_spec.rb
View file @
9723a124
...
...
@@ -27,13 +27,13 @@ RSpec.describe Namespaces::InProductMarketingEmailsWorker, '#perform' do
let
(
:is_paid
)
{
true
}
let
(
:executes_service
)
{
0
}
i
nclude_examples
'in-product marketing email'
i
t_behaves_like
'in-product marketing email'
end
context
'free'
do
let
(
:is_paid
)
{
false
}
i
nclude_examples
'in-product marketing email'
i
t_behaves_like
'in-product marketing email'
end
end
...
...
@@ -42,7 +42,7 @@ RSpec.describe Namespaces::InProductMarketingEmailsWorker, '#perform' do
allow
(
License
).
to
receive
(
:current
).
and_return
(
nil
)
end
i
nclude_examples
'in-product marketing email'
i
t_behaves_like
'in-product marketing email'
end
end
end
...
...
@@ -58,7 +58,7 @@ RSpec.describe Namespaces::InProductMarketingEmailsWorker, '#perform' do
end
with_them
do
i
nclude_examples
'in-product marketing email'
i
t_behaves_like
'in-product marketing email'
end
end
end
spec/workers/namespaces/in_product_marketing_emails_worker_spec.rb
View file @
9723a124
...
...
@@ -19,7 +19,7 @@ RSpec.describe Namespaces::InProductMarketingEmailsWorker, '#perform' do
end
with_them
do
i
nclude_examples
'in-product marketing email'
i
t_behaves_like
'in-product marketing email'
end
end
end
...
...
@@ -35,7 +35,7 @@ RSpec.describe Namespaces::InProductMarketingEmailsWorker, '#perform' do
end
with_them
do
i
nclude_examples
'in-product marketing email'
i
t_behaves_like
'in-product marketing 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