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
Tatuya Kamada
gitlab-ce
Commits
d4a2ef52
Commit
d4a2ef52
authored
Aug 28, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
82893089
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
features/steps/explore/projects.rb
features/steps/explore/projects.rb
+2
-2
features/steps/project/active_tab.rb
features/steps/project/active_tab.rb
+1
-1
features/steps/project/redirects.rb
features/steps/project/redirects.rb
+1
-1
No files found.
features/steps/explore/projects.rb
View file @
d4a2ef52
...
@@ -35,13 +35,13 @@ class Spinach::Features::ExploreProjectsFeature < Spinach::FeatureSteps
...
@@ -35,13 +35,13 @@ class Spinach::Features::ExploreProjectsFeature < Spinach::FeatureSteps
end
end
step
'I should see project "Community" home page'
do
step
'I should see project "Community" home page'
do
within
'.
project-home-
title'
do
within
'.
navbar-gitlab .
title'
do
page
.
should
have_content
'Community'
page
.
should
have_content
'Community'
end
end
end
end
step
'I should see project "Internal" home page'
do
step
'I should see project "Internal" home page'
do
within
'.
project-home-
title'
do
within
'.
navbar-gitlab .
title'
do
page
.
should
have_content
'Internal'
page
.
should
have_content
'Internal'
end
end
end
end
...
...
features/steps/project/active_tab.rb
View file @
d4a2ef52
...
@@ -7,7 +7,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
...
@@ -7,7 +7,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
# Main Tabs
# Main Tabs
Then
'the active main tab should be Home'
do
Then
'the active main tab should be Home'
do
ensure_active_main_tab
(
'
Activity
'
)
ensure_active_main_tab
(
'
Project
'
)
end
end
Then
'the active main tab should be Settings'
do
Then
'the active main tab should be Settings'
do
...
...
features/steps/project/redirects.rb
View file @
d4a2ef52
...
@@ -18,7 +18,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
...
@@ -18,7 +18,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
step
'I should see project "Community" home page'
do
step
'I should see project "Community" home page'
do
Gitlab
.
config
.
gitlab
.
stub
(
:host
).
and_return
(
"www.example.com"
)
Gitlab
.
config
.
gitlab
.
stub
(
:host
).
and_return
(
"www.example.com"
)
within
'.
project-home-
title'
do
within
'.
navbar-gitlab .
title'
do
page
.
should
have_content
'Community'
page
.
should
have_content
'Community'
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