Sha256: 0133f29a9847a7033e3f85572954e4656b984ad88cff6c4898cae565a2a546b9

Contents?: true

Size: 622 Bytes

Versions: 33

Compression:

Stored size: 622 Bytes

Contents

gem 'capybara', :group => [:development, :test]

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

33 entries across 33 versions & 6 rubygems

Version Path
rails_apps_composer-1.0.0 recipes/capybara.rb
rails3_devise_wizard-0.3.2 recipes/capybara.rb
rails3_devise_wizard-0.3.1 recipes/capybara.rb
rails3_devise_wizard-0.2.8 recipes/capybara.rb
rails_wizard-0.1.5 recipes/capybara.rb
rails3_devise_wizard-0.2.5 recipes/capybara.rb
rails3_devise_wizard-0.2.4 recipes/capybara.rb
rails3_devise_wizard-0.2.3 recipes/capybara.rb
rails3_devise_wizard-0.2.2 recipes/capybara.rb
rails3_devise_wizard-0.2.1 recipes/capybara.rb
rails3_devise_wizard-0.2 recipes/capybara.rb
rails_wizard-0.1.4 recipes/capybara.rb
rails_wizard-0.1.3 recipes/capybara.rb