Commit a2ec4c67 authored by Valery Sizov's avatar Valery Sizov

Fix specs in a scope of CE-EE

parent 31a3ba1a
......@@ -49,7 +49,7 @@ class Gitlab::Seeder::Burndown
description: FFaker::Lorem.sentence,
state: 'opened',
milestone: @milestone,
assignee: @project.team.users.sample,
assignees: []@project.team.users.sample],
weight: rand(1..9)
}
......
......@@ -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
......
......@@ -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)
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment