Fixed submit button not enabling

Fixed tests
This commit is contained in:
Phil Hughes 2016-07-07 11:25:04 +01:00
parent d7450946a7
commit bd888e135d
2 changed files with 4 additions and 2 deletions

View File

@ -518,7 +518,9 @@ class GitLabDropdown
if !field.length and fieldName
@addInput(fieldName, value)
else
field.val value
field
.val value
.trigger 'change'
return selectedObject

View File

@ -16,7 +16,7 @@ describe "Compare", js: true do
end
it "should compare branches" do
fill_in "from", with: "mast"
fill_in "from", with: "fea"
find("#from").click
click_link "feature"