Sha256: 327be66c53f990801cc57d7ed2a1fed90f9c11cfb7bf11490875b84f55bff968
Contents?: true
Size: 610 Bytes
Versions: 3
Compression:
Stored size: 610 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) exception = assert_raises(MiniTest::Assertion, &self) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capybara_minitest_spec-0.1.3 | test/spec_helper.rb |
capybara_minitest_spec-0.1.2 | test/spec_helper.rb |
capybara_minitest_spec-0.1.1 | test/spec_helper.rb |