Sha256: ea02ce0464cebbf722f99a9b97ad75a3d399274aebe7bc927e0cd925eab5e2bd
Contents?: true
Size: 817 Bytes
Versions: 3
Compression:
Stored size: 817 Bytes
Contents
RSpec.configure do |config| config.mock_with :rspec do |mocks| # If you misremember a method name both in code and in tests, # this will save you. # https://relishapp.com/rspec/rspec-mocks/v/3-0/docs/verifying-doubles/partial-doubles mocks.verify_partial_doubles = true end end if ENV["COVERAGE"] || ENV["TRAVIS"] require "simplecov" top = File.expand_path("../..", __FILE__) # track all ruby files under lib SimpleCov.track_files("#{top}/lib/**/*.rb") SimpleCov.track_files("bin/ev3tool") # use coveralls for on-line code coverage reporting at Travis CI if ENV["TRAVIS"] require "coveralls" SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] end SimpleCov.start end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lignite-0.3.0 | spec/spec_helper.rb |
lignite-0.2.0 | spec/spec_helper.rb |
lignite-0.1.2 | spec/spec_helper.rb |