Sha256: 0fbbe4cbe349f9c0201f488b1cef64ecf1b3bd00a82c7aaea074567028fbabb0
Contents?: true
Size: 805 Bytes
Versions: 2
Compression:
Stored size: 805 Bytes
Contents
# Do these first require 'simplecov' # Coveralls only reports when Travis runs the tests require 'coveralls' Coveralls.wear! SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start # Require my gem itself require 'ruby_rides' # Require testing dependencies require 'rspec' require 'webmock/rspec' # This is where you put additional rSpec configuration RSpec.configure do |config| config.order = 'random' config.expect_with :rspec do |c| c.syntax = :expect end end # Helper methods for accessing fixture path def fixture_path File.expand_path('../fixtures', __FILE__) end # Helper method for accessing a real file in the fixture path def fixture(file) File.new(fixture_path + '/' + file) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_rides-0.0.4 | spec/spec_helper.rb |
ruby_rides-0.0.3 | spec/spec_helper.rb |