BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
cd7f03ef
Commit
cd7f03ef
authored
Jul 10, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec/helpers/award_emoji_helper_spec.rb by using `iid` instead of `id`
Closes gitlab-org/gitlab-ee#2890
parent
31ada792
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
award_emoji_helper_spec.rb
spec/helpers/award_emoji_helper_spec.rb
+2
-2
No files found.
spec/helpers/award_emoji_helper_spec.rb
View file @
cd7f03ef
...
...
@@ -40,7 +40,7 @@ describe AwardEmojiHelper do
it
'returns correct url'
do
@project
=
merge_request
.
project
expected_url
=
"/
#{
@project
.
namespace
.
path
}
/
#{
@project
.
path
}
/merge_requests/
#{
merge_request
.
id
}
/toggle_award_emoji"
expected_url
=
"/
#{
@project
.
namespace
.
path
}
/
#{
@project
.
path
}
/merge_requests/
#{
merge_request
.
i
i
d
}
/toggle_award_emoji"
expect
(
helper
.
toggle_award_url
(
merge_request
)).
to
eq
(
expected_url
)
end
...
...
@@ -52,7 +52,7 @@ describe AwardEmojiHelper do
it
'returns correct url'
do
@project
=
issue
.
project
expected_url
=
"/
#{
@project
.
namespace
.
path
}
/
#{
@project
.
path
}
/issues/
#{
issue
.
id
}
/toggle_award_emoji"
expected_url
=
"/
#{
@project
.
namespace
.
path
}
/
#{
@project
.
path
}
/issues/
#{
issue
.
i
i
d
}
/toggle_award_emoji"
expect
(
helper
.
toggle_award_url
(
issue
)).
to
eq
(
expected_url
)
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