Use shared system spec helper methods (#31784)
This commit is contained in:
parent
82161d8ae5
commit
c6a0768fe5
5 changed files with 7 additions and 15 deletions
|
@ -56,10 +56,6 @@ RSpec.describe 'Invites' do
|
|||
|
||||
private
|
||||
|
||||
def css_id(record)
|
||||
"##{dom_id(record)}" # TODO: Extract to system spec helper?
|
||||
end
|
||||
|
||||
def copyable_field
|
||||
within '.input-copy' do
|
||||
find(:field, type: :text, readonly: true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue