# encoding: utf-8 require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start do command_name 'spec' add_filter 'config' add_filter 'spec' add_filter 'vendor' minimum_coverage 100 end require 'memoizable' require 'rspec' # Require spec support files and shared behavior Dir[File.expand_path('../{support,shared}/**/*.rb', __FILE__)].each do |file| require file.chomp('.rb') end RSpec.configure do |config| config.expect_with :rspec do |expect_with| expect_with.syntax = :expect end end