Sha256: c6533431ea245891e5f5a0ac70e4fdeed2907ba3f865aae368fd7bd73e8f25aa
Contents?: true
Size: 789 Bytes
Versions: 1
Compression:
Stored size: 789 Bytes
Contents
# Do these first require 'simplecov' # Coveralls only reports when Travis runs the tests require 'coveralls' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_rides-0.0.2 | spec/spec_helper.rb |