Sha256: 7d7702e483944751d574f1770af675f53628db03bef5e1039707e1d3f4d66790

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

require 'capybara/rspec'
require 'capybara/poltergeist'
require 'pagemodels'

Dir.glob(File.join(File.dirname(__FILE__), "pagemodels", "**", "*.rb")).each { |f| require f }

Capybara.default_driver = :poltergeist

PageModels.configure do |config|
  config.driver = :capybara
  config.integrate :rspec
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pagemodels-0.2.3 examples/rspec_and_capybara/spec/spec_helper.rb
pagemodels-0.2.2 examples/rspec_and_capybara/spec/spec_helper.rb
pagemodels-0.2.1 examples/rspec_and_capybara/spec/spec_helper.rb
pagemodels-0.2.0 examples/rspec_and_capybara/spec/spec_helper.rb