tricknotes / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 205 forks source link

Configure Capybara to run `Webrick` in tests #567

Closed seanpdoyle closed 6 years ago

seanpdoyle commented 6 years ago

This commit resolves dependecy issues due to the absence of puma from the project's Gemfiles:

Failure/Error: raise LoadError, "Capybara is unable to load `puma` for its server, please add `puma` to your project or specify a different server via something like `Capybara.server = :webrick`."

LoadError:
Capybara is unable to load `puma` for its server, please add `puma` to your project or specify a different server via something like `Capybara.server = :webrick`.

Instead of adding an additional dependency, configure Capybara to use webrick, which is available as part of Ruby's standard library.