Add label to NO_STIP list of rails-dom-assertion
Related with rails/rails-dom-testing#15
This commit is contained in:
parent
12e6d89b77
commit
1b376bcebb
|
@ -30,7 +30,9 @@ I18n.default_locale = :en
|
|||
|
||||
require 'country_select'
|
||||
|
||||
if defined?(ActionDispatch::Assertions::NO_STRIP)
|
||||
if defined?(HTMLSelector::NO_STRIP)
|
||||
HTMLSelector::NO_STRIP << "label"
|
||||
else
|
||||
ActionDispatch::Assertions::NO_STRIP << "label"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue