Testing Sauce Labs with Capybara and sqlite
For cucumber:
gem 'cucumber-rails', :require => false gem 'cucumber' gem 'sauce-cucumber', :require => false gem 'sauce' gem 'sauce-connect'
RSpec
bundle exec rails g rspec:install bundle exec rake sauce:install:spec
Capybara
The gem provides a Capybara driver that functions mostly the same as the existing Selenium driver.
require "capybara" require "sauce/capybara"
Capybara.default_driver = :sauce
Capybara.javascript_driver = :sauce
Now run these
bundle install
bundle exec rails g cucumber:install --rspec --sauce --capybara bundle exec rake sauce:install:features