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

Version Path
rails_apps_composer-1.5.5 recipes/capybara.rb
rails_apps_composer-1.5.4 recipes/capybara.rb
rails_apps_composer-1.5.3 recipes/capybara.rb
rails_apps_composer-1.5.2 recipes/capybara.rb
rails_apps_composer-1.5.1 recipes/capybara.rb
thyone_creator-0.0.5 recipes/capybara.rb
thyone_creator-0.0.4 recipes/capybara.rb
thyone_creator-0.0.3 recipes/capybara.rb
thyone_creator-0.0.2 recipes/capybara.rb
rails_apps_composer-1.5.0 recipes/capybara.rb
rails_apps_composer-1.4.15 recipes/capybara.rb
rails_apps_composer-1.4.14 recipes/capybara.rb
rails_apps_composer-1.4.13 recipes/capybara.rb
rails_apps_composer-1.4.12 recipes/capybara.rb
rails_apps_composer-1.4.11 recipes/capybara.rb
rails_apps_composer-1.4.10 recipes/capybara.rb
rails_apps_composer-1.4.9 recipes/capybara.rb
rails_apps_composer-1.4.8 recipes/capybara.rb
rails_apps_composer-1.4.7 recipes/capybara.rb