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
829fad49
Commit
829fad49
authored
Feb 01, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QA::Page::Component::Dropzone#initialize needs a QA::Page::Base object
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
9562cd14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
qa/qa/page/component/dropzone.rb
qa/qa/page/component/dropzone.rb
+2
-0
qa/qa/page/project/issue/show.rb
qa/qa/page/project/issue/show.rb
+1
-1
No files found.
qa/qa/page/component/dropzone.rb
View file @
829fad49
...
...
@@ -4,6 +4,8 @@ module QA
class
Dropzone
attr_reader
:page
,
:container
# page - A QA::Page::Base object
# container - CSS selector of the comment textarea's container
def
initialize
(
page
,
container
)
@page
=
page
@container
=
container
...
...
qa/qa/page/project/issue/show.rb
View file @
829fad49
...
...
@@ -27,7 +27,7 @@ module QA
fill_in
(
with:
text
,
name:
'note[note]'
)
unless
attachment
.
nil?
QA
::
Page
::
Component
::
Dropzone
.
new
(
page
,
'.new-note'
)
QA
::
Page
::
Component
::
Dropzone
.
new
(
self
,
'.new-note'
)
.
attach_file
(
attachment
)
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