Commit 6a728a18 authored by Paul Slaughter's avatar Paul Slaughter

Fix rspec selector for js-description-input

Originally we meant to select all chidlren input
or textarea, but this selector was selecting
all textarea which caused issues with the ACE
replacement.
parent 0edfd440
......@@ -9,7 +9,7 @@ describe 'Projects > Snippets > Create Snippet', :js do
let_it_be(:project) { create(:project, :public) }
def description_field
find('.js-description-input input,textarea')
find('.js-description-input').find('input,textarea')
end
def fill_form
......
......@@ -6,7 +6,7 @@ describe 'User creates snippet', :js do
let(:user) { create(:user) }
def description_field
find('.js-description-input input,textarea')
find('.js-description-input').find('input,textarea')
end
before do
......
......@@ -14,7 +14,7 @@ describe 'User creates snippet', :js do
end
def description_field
find('.js-description-input input,textarea')
find('.js-description-input').find('input,textarea')
end
def fill_form
......
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