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

Don't depend on RSpec #48

Closed gma closed 3 years ago

gma commented 8 years ago

Not all projects that use capybara and select2 use RSpec, and we shouldn't automatically add the rspec gem to those projects.

Adding capybara-select2 to my project broke some of my Minitest tests, simply by loading RSpec into the Ruby interpreter.

We can still configure RSpec support automatically, but only need to run that code if RSpec is available.

gma commented 3 years ago

Closing because I'm tidying up my outstanding PR's, and this seems like a dead project.