goodwill / capybara-select2

Helper for capybara to be able to trigger select on select2 javascript (needed for js enabled test only)
MIT License
80 stars 111 forks source link

using with minitest #29

Closed sandrods closed 7 months ago

sandrods commented 10 years ago

Hi,

I'm trying to use capybara-select with minitest-rails-capybara with no success.

Could you point me into the direction on how to configure capybara-select2 to be included into minitest?

TIA

sandrods commented 10 years ago

Please?

kgathi2 commented 9 years ago
class ActiveSupport::TestCase
 include Capybara::Select2
  include Capybara::Selectors::TagSelector
end
vestedpr-dev commented 6 years ago

For me it was the following:

class Capybara::Rails::TestCase
  include CapybaraSelect2
end