Sha256: 273a1215eea9f0bf4bfc44a4dde22561364b8266d6c692c04d47cc9f24e658af
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
require 'bundler/setup' require 'minitest/autorun' require 'capybara/dsl' require 'capybara_minitest_spec' # Make all specs a subclass of MiniTest::Spec. MiniTest::Spec.register_spec_type //, MiniTest::Spec # Setup Rack test app. $LOAD_PATH << File.join(__FILE__, '../../test_app') require 'test_app' Capybara.app = TestApp # Set Capybara default selector to xpath. class MiniTest::Spec before :each do Capybara.configure do |config| config.default_selector = :xpath end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capybara_minitest_spec-0.2.0 | test/spec_helper.rb |