Sha256: 4cf200046d14abe03e1b89a3666ae9863710e0ee554903cd2f4146a86a1e0e8e

Contents?: true

Size: 763 Bytes

Versions: 17

Compression:

Stored size: 763 Bytes

Contents

require 'simplecov'
require 'support/dataset_helper'

module SimpleCov::Configuration
  def clean_filters
    @filters = []
  end
end

SimpleCov.configure do
  clean_filters
  load_adapter 'test_frameworks'
end

ENV["COVERAGE"] && SimpleCov.start do
  add_filter "/.rvm/"
end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'rspec'
require 'db_clustering'
require 'byebug'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    # only allow new expect syntax for specs
    c.syntax = :expect
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
db_clustering-0.1.17 spec/spec_helper.rb
db_clustering-0.1.16 spec/spec_helper.rb
db_clustering-0.1.15 spec/spec_helper.rb
db_clustering-0.1.14 spec/spec_helper.rb
db_clustering-0.1.13 spec/spec_helper.rb
db_clustering-0.1.12 spec/spec_helper.rb
db_clustering-0.1.11 spec/spec_helper.rb
db_clustering-0.1.10 spec/spec_helper.rb
db_clustering-0.1.9 spec/spec_helper.rb
db_clustering-0.1.8 spec/spec_helper.rb
db_clustering-0.1.7 spec/spec_helper.rb
db_clustering-0.1.6 spec/spec_helper.rb
db_clustering-0.1.5 spec/spec_helper.rb
db_clustering-0.1.4 spec/spec_helper.rb
db_clustering-0.1.3 spec/spec_helper.rb
db_clustering-0.1.2 spec/spec_helper.rb
db_clustering-0.1.1 spec/spec_helper.rb