mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Add missing bracket to a selector's description when a class is specified
This commit is contained in:
parent
fb356c3f6d
commit
fbf1283fa3
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ module Capybara
|
|||
@description << " with#{" exact" if exact_text == true} text #{options[:text].inspect}" if options[:text]
|
||||
@description << " with exact text #{options[:exact_text]}" if options[:exact_text].is_a?(String)
|
||||
@description << " with id #{options[:id]}" if options[:id]
|
||||
@description << " with classes #{Array(options[:class]).join(',')}]" if options[:class]
|
||||
@description << " with classes [#{Array(options[:class]).join(',')}]" if options[:class]
|
||||
@description << selector.description(options)
|
||||
@description << " that also matches the custom filter block" if @filter_block
|
||||
@description
|
||||
|
|
Loading…
Reference in a new issue