Sha256: dc2b97896e4201c7c1d4bbf9dd5c346f522ef27db28236a010c5856e0747e39c
Contents?: true
Size: 924 Bytes
Versions: 2
Compression:
Stored size: 924 Bytes
Contents
require 'bundler/setup' require 'capybara' require 'capybara/mechanize' require 'sinatra' require 'capybara/spec/extended_test_app' # TODO move this stuff into capybara require 'capybara/spec/driver' require 'capybara/spec/session' alias :running :lambda Capybara.default_wait_time = 0 # less timeout so tests run faster RSpec.configure do |config| config.after do Capybara.default_selector = :xpath Capybara::Mechanize.local_hosts = nil end # config.filter_run :focus => true end # Until this library is merged with capybara there needs to be a local app and you need to add # Install pow (get.pow.cx) and run add a symlink in ~/.pow with ln -s lib/capybara/spec capybara-testapp.heroku if ENV['HOME'] =~ /jvandijk/ # TODO don't tie it to my personal stuff :) REMOTE_TEST_URL = "http://capybara-testapp.heroku.dev:80" else REMOTE_TEST_URL = "http://capybara-mechanize-testapp.herokuapp.com:80" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capybara-mechanize-0.3.0.rc2 | spec/spec_helper.rb |
capybara-mechanize-0.3.0.rc1 | spec/spec_helper.rb |