Sha256: 769509d7b39ecec6804ac7194fb894239f51a4a4e55b38f6df1a09b113855559
Contents?: true
Size: 657 Bytes
Versions: 19
Compression:
Stored size: 657 Bytes
Contents
gem 'capybara', :group => [:development, :test] unless recipes.include? 'cucumber' after_bundler do create_file "spec/support/capybara.rb", <<-RUBY require 'capybara/rails' require 'capybara/rspec' RUBY create_file "spec/requests/home_spec.rb", <<-RUBY require 'spec_helper' describe 'visiting the homepage' do before do visit '/' end it 'should have a body' do page.should have_css('body') end end RUBY end __END__ name: Capybara description: "Use the Capybara acceptance testing libraries with RSpec." author: mbleigh requires: [rspec] run_after: [rspec] exclusive: acceptance_testing category: testing tags: [acceptance]
Version data entries
19 entries across 19 versions & 2 rubygems