Closed gma closed 3 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.
capybara-select2
We can still configure RSpec support automatically, but only need to run that code if RSpec is available.
Closing because I'm tidying up my outstanding PR's, and this seems like a dead project.
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.