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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
61811605
Commit
61811605
authored
May 30, 2015
by
Martins Polakovs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mocking/stubbing syntax to the new RSpec 3 syntax
parent
cfc9bff4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/lib/gitlab/upgrader_spec.rb
spec/lib/gitlab/upgrader_spec.rb
+1
-1
No files found.
spec/lib/gitlab/upgrader_spec.rb
View file @
61811605
...
...
@@ -22,7 +22,7 @@ describe Gitlab::Upgrader do
end
it
'should get the latest version from tags'
do
upgrader
.
stub
(
fetch_git_tags:
[
allow
(
upgrader
).
to
receive
(
:fetch_git_tags
).
and_return
(
[
'6f0733310546402c15d3ae6128a95052f6c8ea96 refs/tags/v7.1.1'
,
'facfec4b242ce151af224e20715d58e628aa5e74 refs/tags/v7.1.1^{}'
,
'f7068d99c79cf79befbd388030c051bb4b5e86d4 refs/tags/v7.10.4'
,
...
...
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