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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a2ec4c67
Commit
a2ec4c67
authored
May 08, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs in a scope of CE-EE
parent
31a3ba1a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
db/fixtures/development/20_burndown.rb
db/fixtures/development/20_burndown.rb
+1
-1
db/schema.rb
db/schema.rb
+1
-1
spec/features/projects/audit_events_spec.rb
spec/features/projects/audit_events_spec.rb
+1
-1
spec/services/notes/slash_commands_service_spec.rb
spec/services/notes/slash_commands_service_spec.rb
+1
-1
No files found.
db/fixtures/development/20_burndown.rb
View file @
a2ec4c67
...
...
@@ -49,7 +49,7 @@ class Gitlab::Seeder::Burndown
description:
FFaker
::
Lorem
.
sentence
,
state:
'opened'
,
milestone:
@milestone
,
assignee
:
@project
.
team
.
users
.
sample
,
assignee
s:
[]
@project
.
team
.
users
.
sample
]
,
weight:
rand
(
1
..
9
)
}
...
...
db/schema.rb
View file @
a2ec4c67
...
...
@@ -540,7 +540,7 @@ ActiveRecord::Schema.define(version: 20170504102911) do
add_index
"index_statuses"
,
[
"project_id"
],
name:
"index_index_statuses_on_project_id"
,
unique:
true
,
using: :btree
create_table
"issue_assignees"
,
id:
false
,
force: :cascade
do
|
t
|
create_table
"issue_assignees"
,
force: :cascade
do
|
t
|
t
.
integer
"user_id"
,
null:
false
t
.
integer
"issue_id"
,
null:
false
end
...
...
spec/features/projects/audit_events_spec.rb
View file @
a2ec4c67
...
...
@@ -26,7 +26,7 @@ feature 'Projects > Audit Events', js: true, feature: true do
visit
namespace_project_deploy_keys_path
(
project
.
namespace
,
project
)
accept_confirm
do
click_
link
'Remove'
click_
on
'Remove'
end
visit
namespace_project_audit_events_path
(
project
.
namespace
,
project
)
...
...
spec/services/notes/slash_commands_service_spec.rb
View file @
a2ec4c67
...
...
@@ -243,7 +243,7 @@ describe Notes::SlashCommandsService, services: true do
_
,
command_params
=
service
.
extract_commands
(
note
)
service
.
execute
(
command_params
,
note
)
expect
(
note
.
noteable
.
assignees
.
count
).
to
eq
(
1
)
expect
(
note
.
noteable
.
assignees
.
count
).
to
eq
(
2
)
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