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
21443630
Commit
21443630
authored
Mar 23, 2020
by
Ryan Cobb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary freezes
parent
d3e57202
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/spec/features/admin/admin_sends_notification_spec.rb
ee/spec/features/admin/admin_sends_notification_spec.rb
+1
-1
ee/spec/features/user_unsubscribes_from_admin_notifications_spec.rb
...atures/user_unsubscribes_from_admin_notifications_spec.rb
+1
-1
No files found.
ee/spec/features/admin/admin_sends_notification_spec.rb
View file @
21443630
...
...
@@ -9,7 +9,7 @@ describe "Admin sends notification", :js, :sidekiq_might_not_need_inline do
let
(
:user
)
{
create
(
:user
)
}
before
do
stub_const
(
'NOTIFICATION_TEXT'
,
'Your project has been moved.'
.
freeze
)
stub_const
(
'NOTIFICATION_TEXT'
,
'Your project has been moved.'
)
group
.
add_developer
(
user
)
...
...
ee/spec/features/user_unsubscribes_from_admin_notifications_spec.rb
View file @
21443630
...
...
@@ -7,7 +7,7 @@ describe "Admin unsubscribes from notification" do
let_it_be
(
:urlsafe_email
)
{
Base64
.
urlsafe_encode64
(
user
.
email
)
}
before
do
stub_const
(
'NOTIFICATION_TEXT'
,
'You have been unsubscribed from receiving GitLab administrator notifications.'
.
freeze
)
stub_const
(
'NOTIFICATION_TEXT'
,
'You have been unsubscribed from receiving GitLab administrator notifications.'
)
sign_in
(
user
)
...
...
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