BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
61865cfc
Unverified
Commit
61865cfc
authored
Nov 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CookieHelper and InputHelper automatically to :js tests
parent
787ef979
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2 additions
and
18 deletions
+2
-18
boards_spec.rb
spec/features/boards/boards_spec.rb
+0
-1
visual_tokens_spec.rb
spec/features/issues/filtered_search/visual_tokens_spec.rb
+0
-2
gfm_autocomplete_spec.rb
spec/features/issues/gfm_autocomplete_spec.rb
+0
-2
diff_notes_avatars_spec.rb
spec/features/merge_requests/diff_notes_avatars_spec.rb
+0
-1
user_posts_diff_notes_spec.rb
spec/features/merge_requests/user_posts_diff_notes_spec.rb
+0
-1
ref_switcher_spec.rb
spec/features/projects/ref_switcher_spec.rb
+0
-2
create_directory_spec.rb
spec/features/projects/tree/create_directory_spec.rb
+0
-3
create_file_spec.rb
spec/features/projects/tree/create_file_spec.rb
+0
-3
upload_file_spec.rb
spec/features/projects/tree/upload_file_spec.rb
+0
-3
spec_helper.rb
spec/spec_helper.rb
+2
-0
No files found.
spec/features/boards/boards_spec.rb
View file @
61865cfc
require
'rails_helper'
describe
'Issue Boards'
,
:js
do
include
CookieHelper
include
DragTo
let
(
:group
)
{
create
(
:group
,
:nested
)
}
...
...
spec/features/issues/filtered_search/visual_tokens_spec.rb
View file @
61865cfc
require
'rails_helper'
describe
'Visual tokens'
,
:js
do
include
CookieHelper
include
FilteredSearchHelpers
include
WaitForRequests
let!
(
:project
)
{
create
(
:project
)
}
let!
(
:user
)
{
create
(
:user
,
name:
'administrator'
,
username:
'root'
)
}
...
...
spec/features/issues/gfm_autocomplete_spec.rb
View file @
61865cfc
require
'rails_helper'
feature
'GFM autocomplete'
,
:js
do
include
InputHelper
let
(
:user
)
{
create
(
:user
,
name:
'💃speciąl someone💃'
,
username:
'someone.special'
)
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:label
)
{
create
(
:label
,
project:
project
,
title:
'special+'
)
}
...
...
spec/features/merge_requests/diff_notes_avatars_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Diff note avatars'
,
:js
do
include
CookieHelper
include
NoteInteractionHelpers
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/features/merge_requests/user_posts_diff_notes_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Merge requests > User posts diff notes'
,
:js
do
include
CookieHelper
include
MergeRequestDiffHelpers
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/features/projects/ref_switcher_spec.rb
View file @
61865cfc
require
'rails_helper'
feature
'Ref switcher'
,
:js
do
include
CookieHelper
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
:repository
)
}
...
...
spec/features/projects/tree/create_directory_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Multi-file editor new directory'
,
:js
do
include
CookieHelper
include
WaitForRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
...
...
spec/features/projects/tree/create_file_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Multi-file editor new file'
,
:js
do
include
CookieHelper
include
WaitForRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
...
...
spec/features/projects/tree/upload_file_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Multi-file editor upload file'
,
:js
do
include
CookieHelper
include
WaitForRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:txt_file
)
{
File
.
join
(
Rails
.
root
,
'spec'
,
'fixtures'
,
'doc_sample.txt'
)
}
...
...
spec/spec_helper.rb
View file @
61865cfc
...
...
@@ -48,6 +48,8 @@ RSpec.configure do |config|
config
.
include
Warden
::
Test
::
Helpers
,
type: :request
config
.
include
LoginHelpers
,
type: :feature
config
.
include
SearchHelpers
,
type: :feature
config
.
include
CookieHelper
,
:js
config
.
include
InputHelper
,
:js
config
.
include
WaitForRequests
,
:js
config
.
include
StubConfiguration
config
.
include
EmailHelpers
,
:mailer
,
type: :mailer
...
...
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