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
c4e45d89
Commit
c4e45d89
authored
Oct 18, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix remaining offenses
parent
ad859287
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
widget_deployments_spec.rb
spec/features/merge_requests/widget_deployments_spec.rb
+0
-0
environment_spec.rb
spec/models/environment_spec.rb
+4
-3
No files found.
spec/features/merge_requests/widget_deployments_spec.rb
View file @
c4e45d89
spec/models/environment_spec.rb
View file @
c4e45d89
...
@@ -150,8 +150,8 @@ describe Environment, models: true do
...
@@ -150,8 +150,8 @@ describe Environment, models: true do
let!
(
:close_action
)
{
create
(
:ci_build
,
:manual
,
pipeline:
build
.
pipeline
,
name:
'close_app'
)
}
let!
(
:close_action
)
{
create
(
:ci_build
,
:manual
,
pipeline:
build
.
pipeline
,
name:
'close_app'
)
}
it
'returns the same action'
do
it
'returns the same action'
do
is_expected
.
to
eq
(
close_action
)
expect
(
subject
)
.
to
eq
(
close_action
)
is_expected
.
to
include
(
user:
user
)
expect
(
subject
.
user
).
to
eq
(
user
)
end
end
end
end
...
@@ -160,7 +160,8 @@ describe Environment, models: true do
...
@@ -160,7 +160,8 @@ describe Environment, models: true do
it
'returns a new action of the same type'
do
it
'returns a new action of the same type'
do
is_expected
.
to
be_persisted
is_expected
.
to
be_persisted
is_expected
.
to
include
(
name:
close_action
.
name
,
user:
user
)
expect
(
subject
.
name
).
to
eq
(
close_action
.
name
)
expect
(
subject
.
user
).
to
eq
(
user
)
end
end
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