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
Boxiang Sun
gitlab-ce
Commits
b5d5da7b
Commit
b5d5da7b
authored
Nov 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add InspectRequests helper automatically to :js tests
parent
61865cfc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
5 deletions
+1
-5
spec/features/projects/environments/environment_spec.rb
spec/features/projects/environments/environment_spec.rb
+0
-2
spec/features/projects/jobs_spec.rb
spec/features/projects/jobs_spec.rb
+0
-2
spec/features/snippets/user_creates_snippet_spec.rb
spec/features/snippets/user_creates_snippet_spec.rb
+0
-1
spec/spec_helper.rb
spec/spec_helper.rb
+1
-0
No files found.
spec/features/projects/environments/environment_spec.rb
View file @
b5d5da7b
require
'spec_helper'
require
'spec_helper'
feature
'Environment'
do
feature
'Environment'
do
include
InspectRequests
given
(
:project
)
{
create
(
:project
)
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:user
)
{
create
(
:user
)
}
given
(
:user
)
{
create
(
:user
)
}
given
(
:role
)
{
:developer
}
given
(
:role
)
{
:developer
}
...
...
spec/features/projects/jobs_spec.rb
View file @
b5d5da7b
...
@@ -2,8 +2,6 @@ require 'spec_helper'
...
@@ -2,8 +2,6 @@ require 'spec_helper'
require
'tempfile'
require
'tempfile'
feature
'Jobs'
do
feature
'Jobs'
do
include
InspectRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:user_access_level
)
{
:developer
}
let
(
:user_access_level
)
{
:developer
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
...
...
spec/features/snippets/user_creates_snippet_spec.rb
View file @
b5d5da7b
...
@@ -2,7 +2,6 @@ require 'rails_helper'
...
@@ -2,7 +2,6 @@ require 'rails_helper'
feature
'User creates snippet'
,
:js
do
feature
'User creates snippet'
,
:js
do
include
DropzoneHelper
include
DropzoneHelper
include
InspectRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/spec_helper.rb
View file @
b5d5da7b
...
@@ -50,6 +50,7 @@ RSpec.configure do |config|
...
@@ -50,6 +50,7 @@ RSpec.configure do |config|
config
.
include
SearchHelpers
,
type: :feature
config
.
include
SearchHelpers
,
type: :feature
config
.
include
CookieHelper
,
:js
config
.
include
CookieHelper
,
:js
config
.
include
InputHelper
,
:js
config
.
include
InputHelper
,
:js
config
.
include
InspectRequests
,
:js
config
.
include
WaitForRequests
,
:js
config
.
include
WaitForRequests
,
:js
config
.
include
StubConfiguration
config
.
include
StubConfiguration
config
.
include
EmailHelpers
,
:mailer
,
type: :mailer
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