Sha256: a9e5af5283ec23d4ac85df01223cf8c978a00846a567375bf65f269a6c531dc1
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
require 'bundler/setup' require 'minitest/autorun' require 'capybara/dsl' require 'capybara_minitest_spec' MiniTest::Spec.register_spec_type //, MiniTest::Spec $LOAD_PATH << File.join(__FILE__, '../../test_app') require 'test_app' Capybara.app = TestApp class MiniTest::Spec before :each do Capybara.configure do |config| config.default_selector = :xpath end end end class Proc include MiniTest::Assertions # TODO: Replace this with a real assertion that checks the message. def must_raise(exception_or_message) assert_raises(MiniTest::Assertion, &self) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capybara_minitest_spec-0.1.0 | test/spec_helper.rb |