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
b20b8565
Commit
b20b8565
authored
Mar 21, 2022
by
Piotr Skorupa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessarily passing RAILS_ENV=test env
parent
f12c3329
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb
ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb
+2
-2
No files found.
ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb
View file @
b20b8565
...
@@ -28,7 +28,7 @@ RSpec.describe Gitlab::Usage::ServicePingReport, :use_clean_rails_memory_store_c
...
@@ -28,7 +28,7 @@ RSpec.describe Gitlab::Usage::ServicePingReport, :use_clean_rails_memory_store_c
end
end
# The fixture for this spec is generated automatically by
# The fixture for this spec is generated automatically by
#
RAILS_ENV=test
bin/rake gitlab:usage_data:generate_sql_metrics_fixture
# bin/rake gitlab:usage_data:generate_sql_metrics_fixture
#
#
# Do not edit it manually!
# Do not edit it manually!
describe
'guard SQL queries against arbitrary changes'
do
describe
'guard SQL queries against arbitrary changes'
do
...
@@ -82,7 +82,7 @@ RSpec.describe Gitlab::Usage::ServicePingReport, :use_clean_rails_memory_store_c
...
@@ -82,7 +82,7 @@ RSpec.describe Gitlab::Usage::ServicePingReport, :use_clean_rails_memory_store_c
# This example failed because it detected changes to Service Ping SQL metrics queries.
# This example failed because it detected changes to Service Ping SQL metrics queries.
#
#
# Try regenerating the queries list and review the changes:
# Try regenerating the queries list and review the changes:
#
RAILS_ENV=test
bin/rake gitlab:usage_data:generate_sql_metrics_fixture
# bin/rake gitlab:usage_data:generate_sql_metrics_fixture
MSG
MSG
expect
(
report
).
to
eq
(
stored_queries_hash
),
message
expect
(
report
).
to
eq
(
stored_queries_hash
),
message
...
...
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