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
0bb320cf
Commit
0bb320cf
authored
Jun 22, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Style/HashSyntax violations
parent
4dbf118a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+1
-1
spec/helpers/preferences_helper_spec.rb
spec/helpers/preferences_helper_spec.rb
+1
-1
spec/support/db_cleaner.rb
spec/support/db_cleaner.rb
+1
-1
No files found.
spec/features/issues_spec.rb
View file @
0bb320cf
...
...
@@ -295,7 +295,7 @@ describe 'Issues', feature: true do
issue
.
save
end
it
'allows user to remove assignee'
,
:js
=>
true
do
it
'allows user to remove assignee'
,
js:
true
do
visit
namespace_project_issue_path
(
project
.
namespace
,
project
,
issue
)
expect
(
page
).
to
have_content
"Assignee:
#{
user2
.
name
}
"
...
...
spec/helpers/preferences_helper_spec.rb
View file @
0bb320cf
...
...
@@ -61,7 +61,7 @@ describe PreferencesHelper do
(
1
..
5
).
each
do
|
color_scheme_id
|
context
"with color_scheme_id ==
#{
color_scheme_id
}
"
do
it
'should return a string'
do
current_user
=
double
(
:color_scheme_id
=>
color_scheme_id
)
current_user
=
double
(
color_scheme_id:
color_scheme_id
)
allow
(
self
).
to
receive
(
:current_user
).
and_return
(
current_user
)
expect
(
user_color_scheme_class
).
to
be_kind_of
(
String
)
end
...
...
spec/support/db_cleaner.rb
View file @
0bb320cf
...
...
@@ -25,7 +25,7 @@ RSpec.configure do |config|
DatabaseCleaner
.
strategy
=
:transaction
end
config
.
before
(
:each
,
:js
=>
true
)
do
config
.
before
(
:each
,
js:
true
)
do
DatabaseCleaner
.
strategy
=
:truncation
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