Sha256: b451a732c64a760134dc5689b29e2f47232c8d769f57389fb6cffc4aa5c6b69e

Contents?: true

Size: 753 Bytes

Versions: 4

Compression:

Stored size: 753 Bytes

Contents

require 'volt/spec/setup'

if RUBY_PLATFORM == 'opal'
else
  # 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)
end

if 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 = '2234'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
volt-0.8.23 spec/spec_helper.rb
volt-0.8.22 spec/spec_helper.rb
volt-0.8.22.beta2 spec/spec_helper.rb
volt-0.8.22.beta1 spec/spec_helper.rb