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
0235c2a7
Commit
0235c2a7
authored
Sep 11, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix feature test
parent
c2c11e65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
features/steps/project/project_forked_merge_requests.rb
features/steps/project/project_forked_merge_requests.rb
+2
-3
No files found.
features/steps/project/project_forked_merge_requests.rb
View file @
0235c2a7
...
@@ -175,10 +175,9 @@ class ProjectForkedMergeRequests < Spinach::FeatureSteps
...
@@ -175,10 +175,9 @@ class ProjectForkedMergeRequests < Spinach::FeatureSteps
@project
||=
Project
.
find_by_name!
(
"Shop"
)
@project
||=
Project
.
find_by_name!
(
"Shop"
)
end
end
#Verify a link is generated against the correct project
#
Verify a link is generated against the correct project
def
verify_commit_link
(
container_div
,
container_project
)
def
verify_commit_link
(
container_div
,
container_project
)
#This should force a wait for the javascript to execute
# This should force a wait for the javascript to execute
find
(
:div
,
container_div
).
should
have_css
".browse_code_link_holder"
find
(
:div
,
container_div
).
find
(
".commit_short_id"
)[
'href'
].
should
have_content
"
#{
container_project
.
path_with_namespace
}
/commit"
find
(
:div
,
container_div
).
find
(
".commit_short_id"
)[
'href'
].
should
have_content
"
#{
container_project
.
path_with_namespace
}
/commit"
end
end
end
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