Sha256: ed3a08c6f9fef0abb0f29f1d3d456ff075447f4450e2bb45723809c9ac2f8759

Contents?: true

Size: 545 Bytes

Versions: 1

Compression:

Stored size: 545 Bytes

Contents

require 'metallize'
require 'rubygems'
require 'webrick'

include WEBrick

RSpec.configure do |config|
  # 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.before(:all) do
    browser = [:chrome, :firefox].sample
    puts "Used Browser: #{browser}"
    @metz = Metallize.new(browser)
  end

  config.after(:all) do
    @metz.quit
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
metallize-0.0.1 test/spec/spec_helper.rb