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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
d207a31f
Commit
d207a31f
authored
Jul 16, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests and tab highlight
parent
7a167cf1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
app/helpers/tab_helper.rb
app/helpers/tab_helper.rb
+2
-2
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+1
-1
spec/features/gitlab_flavored_markdown_spec.rb
spec/features/gitlab_flavored_markdown_spec.rb
+1
-1
spec/features/security/project_access_spec.rb
spec/features/security/project_access_spec.rb
+2
-2
No files found.
app/helpers/tab_helper.rb
View file @
d207a31f
...
...
@@ -81,8 +81,8 @@ module TabHelper
end
def
branches_tab_class
if
current_
page?
(
branches_project_repository_path
(
@project
)
)
||
current_controller?
(
:
protected_
branches
)
||
if
current_
controller?
(
:protected_branches
)
||
current_controller?
(
:branches
)
||
current_page?
(
project_repository_path
(
@project
))
'active'
end
...
...
features/steps/shared/paths.rb
View file @
d207a31f
...
...
@@ -189,7 +189,7 @@ module SharedPaths
end
step
'I visit project branches page'
do
visit
branches_project_repository
_path
(
@project
)
visit
project_branches
_path
(
@project
)
end
step
'I visit compare refs page'
do
...
...
spec/features/gitlab_flavored_markdown_spec.rb
View file @
d207a31f
...
...
@@ -41,7 +41,7 @@ describe "GitLab Flavored Markdown" do
end
it
"should render title in repositories#branches"
do
visit
branches_project_repository
_path
(
project
)
visit
project_branches
_path
(
project
)
page
.
should
have_link
(
"#
#{
issue
.
id
}
"
)
end
...
...
spec/features/security/project_access_spec.rb
View file @
d207a31f
...
...
@@ -187,7 +187,7 @@ describe "Application access" do
end
describe
"GET /project_code/repository/branches"
do
subject
{
branches_project_repository
_path
(
project
)
}
subject
{
project_branches
_path
(
project
)
}
before
do
# Speed increase
...
...
@@ -429,7 +429,7 @@ describe "Application access" do
end
describe
"GET /project_code/repository/branches"
do
subject
{
branches_project_repository
_path
(
project
)
}
subject
{
project_branches
_path
(
project
)
}
before
do
# Speed increase
...
...
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