Sha256: e6c400bcc33fd090423a897b7c271414b80046b98ef87327e5d33fc6956d46ae
Contents?: true
Size: 1022 Bytes
Versions: 1
Compression:
Stored size: 1022 Bytes
Contents
require 'corefines' require 'rspec/collection_matchers' require 'simplecov' require 'asciidoctor/doctest' require 'fakefs/spec_helpers' Dir['./spec/{shared_examples,support}/**/*.rb'].each { |file| require file } RSpec.configure do |config| # rspec-expectations config config.expect_with :rspec do |expects| # This option disables deprecated 'should' syntax. expects.syntax = :expect # This option makes the +description+ and +failure_message+ of custom # matchers include text for helper methods defined using +chain+, e.g.: # be_bigger_than(2).and_smaller_than(4).description # # => "be bigger than 2 and smaller than 4" # ...rather than: # # => "be bigger than 2" expects.include_chain_clauses_in_custom_matcher_descriptions = true end # rspec-mocks config config.mock_with :rspec do |mocks| # Prevents you from mocking or stubbing a method that does not exist on # a real object. mocks.verify_partial_doubles = true end config.color = true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-doctest-1.5.2.0 | spec/spec_helper.rb |