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
d7f93733
Commit
d7f93733
authored
Oct 07, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an intermittent spec failure in spec/lib/gitlab/geo/database_tasks_spec.rb
parent
24ad3102
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
spec/lib/gitlab/geo/database_tasks_spec.rb
spec/lib/gitlab/geo/database_tasks_spec.rb
+6
-2
No files found.
spec/lib/gitlab/geo/database_tasks_spec.rb
View file @
d7f93733
...
...
@@ -65,7 +65,9 @@ describe Gitlab::Geo::DatabaseTasks do
describe
described_class
::
Migrate
do
describe
'.up'
do
it
'requires ENV["VERSION"] to be set'
do
expect
{
subject
.
up
}.
to
raise_error
(
String
)
stub_env
(
'VERSION'
,
nil
)
expect
{
subject
.
up
}.
to
raise_error
(
/VERSION is required/
)
end
it
'calls ActiveRecord::Migrator.run'
do
...
...
@@ -78,7 +80,9 @@ describe Gitlab::Geo::DatabaseTasks do
describe
'.down'
do
it
'requires ENV["VERSION"] to be set'
do
expect
{
subject
.
down
}.
to
raise_error
(
String
)
stub_env
(
'VERSION'
,
nil
)
expect
{
subject
.
down
}.
to
raise_error
(
/VERSION is required/
)
end
it
'calls ActiveRecord::Migrator.run'
do
...
...
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