Sha256: 35feb462b9473a352fb360224792259c3d5356c2456d00fefaabbcecf739bc8d

Contents?: true

Size: 598 Bytes

Versions: 9

Compression:

Stored size: 598 Bytes

Contents

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start

require 'rubiks'
require 'rspec'
require 'equivalent-xml'
require 'json_expressions/rspec'
require 'pry-debugger' if ENV['DEBUG']

Dir['./spec/support/**/*.rb'].sort.each{ |file| require file }

RSpec.configure do |config|
  config.before :each do
    ::Rubiks::Schema.clear!
    ::Rubiks::Cube.clear!
    ::Rubiks::Dimension.clear!
    # ::Rubiks::Hierarchy.clear!
    # ::Rubiks::Level.clear!
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubiks-0.1.8 spec/spec_helper.rb
rubiks-0.1.7 spec/spec_helper.rb
rubiks-0.1.6 spec/spec_helper.rb
rubiks-0.1.5 spec/spec_helper.rb
rubiks-0.1.4 spec/spec_helper.rb
rubiks-0.1.3 spec/spec_helper.rb
rubiks-0.1.2 spec/spec_helper.rb
rubiks-0.1.1 spec/spec_helper.rb
rubiks-0.1.0 spec/spec_helper.rb