Sha256: 289f8ec2fe99984317e5c5a2302b3a6b3ebd567d98e8c9810a8df7a96538f971

Contents?: true

Size: 1011 Bytes

Versions: 2

Compression:

Stored size: 1011 Bytes

Contents

require 'volt/spec/setup'

unless RUBY_PLATFORM == 'opal'
  require 'pry-byebug'
  require 'coveralls'
  Coveralls.wear!

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

  SimpleCov.start do
    add_filter 'spec/'
  end
end

# Specs are run against the kitchen sink app
kitchen_sink_path = File.expand_path(File.join(File.dirname(__FILE__), 'apps/kitchen_sink'))
Volt.spec_setup(kitchen_sink_path)

unless RUBY_PLATFORM == 'opal'
  RSpec.configure do |config|
    # config.before(:each) do
    #   DataStore.new.drop_database
    # end

    config.run_all_when_everything_filtered = true
    config.filter_run :focus

    # Run specs in random order to surface order dependencies. If you find an
    # order dependency and want to debug it, you can fix the order by providing
    # the seed, which is printed after each run.
    #     --seed 1234
    config.order = 'random'
    # config.seed = '31241'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
volt-0.9.1.pre3 spec/spec_helper.rb
volt-0.9.1.pre2 spec/spec_helper.rb