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
8df7028f
Commit
8df7028f
authored
Apr 14, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spinach after CE->EE merge
parent
b0cf3443
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
db/schema.rb
db/schema.rb
+2
-1
features/project/merge_requests.feature
features/project/merge_requests.feature
+3
-2
features/steps/project/merge_requests.rb
features/steps/project/merge_requests.rb
+9
-0
No files found.
db/schema.rb
View file @
8df7028f
...
...
@@ -886,7 +886,7 @@ ActiveRecord::Schema.define(version: 20160331223143) do
create_table
"remote_mirrors"
,
force: :cascade
do
|
t
|
t
.
integer
"project_id"
t
.
string
"url"
t
.
boolean
"enabled"
,
default:
true
t
.
boolean
"enabled"
,
default:
true
t
.
string
"update_status"
t
.
datetime
"last_update_at"
t
.
datetime
"last_successful_update_at"
...
...
@@ -1131,4 +1131,5 @@ ActiveRecord::Schema.define(version: 20160331223143) do
add_index
"web_hooks"
,
[
"created_at"
,
"id"
],
name:
"index_web_hooks_on_created_at_and_id"
,
using: :btree
add_index
"web_hooks"
,
[
"project_id"
],
name:
"index_web_hooks_on_project_id"
,
using: :btree
add_foreign_key
"remote_mirrors"
,
"projects"
end
features/project/merge_requests.feature
View file @
8df7028f
...
...
@@ -372,10 +372,11 @@ Feature: Project Merge Requests
When
I should not see Approve button
And
I should see message that MR require an approval
@javascript
Scenario
:
I
see suggested approvers on new merge request form
Given
project settings contain list of approvers
When
I click link
"New Merge Request"
And
I select
"f
ix
"
as source
And
I select
"f
eature_conflict
"
as source
Then
I see suggested approver
@javascript
...
...
@@ -383,6 +384,6 @@ Feature: Project Merge Requests
Given
project settings contain list of approvers
And
there is one auto-suggested approver
When
I click link
"New Merge Request"
And
I select
"f
ix
"
as source
And
I select
"f
eature_conflict
"
as source
Then
I see auto-suggested approver
And
I can add it to approver list
features/steps/project/merge_requests.rb
View file @
8df7028f
...
...
@@ -468,11 +468,20 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
step
'I select "fix" as source'
do
find
(
'.js-source-branch'
).
click
find
(
'.dropdown-source-branch .dropdown-content a'
,
text:
'fix'
).
click
click_button
"Compare branches"
end
step
'I select "feature_conflict" as source'
do
find
(
'.js-source-branch'
).
click
find
(
'.dropdown-source-branch .dropdown-content a'
,
text:
'feature_conflict'
).
click
click_button
"Compare branches"
end
step
'I should see description field pre-filled'
do
expect
(
find_field
(
'merge_request_description'
).
value
).
to
eq
'This merge request should contain the following.'
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