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
Léo-Paul Géneau
gitlab-ce
Commits
82e48d8e
Commit
82e48d8e
authored
Mar 07, 2019
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove translation dependency in CA spec
parent
b63efb09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
spec/features/cycle_analytics_spec.rb
spec/features/cycle_analytics_spec.rb
+0
-19
No files found.
spec/features/cycle_analytics_spec.rb
View file @
82e48d8e
...
...
@@ -90,25 +90,6 @@ describe 'Cycle Analytics', :js do
end
end
end
context
"when my preferred language is Spanish"
do
before
do
user
.
update_attribute
(
:preferred_language
,
'es'
)
project
.
add_maintainer
(
user
)
sign_in
(
user
)
visit
project_cycle_analytics_path
(
project
)
wait_for_requests
end
it
'shows the content in Spanish'
do
expect
(
page
).
to
have_content
(
'Estado del Pipeline'
)
end
it
'resets the language to English'
do
expect
(
I18n
.
locale
).
to
eq
(
:en
)
end
end
end
context
"as a guest"
do
...
...
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