Sha256: c7b78c18fea75ee83bc786f91bd7199cecf7378ae3ab2817e5622f569c5c7c84

Contents?: true

Size: 958 Bytes

Versions: 7

Compression:

Stored size: 958 Bytes

Contents

# frozen_string_literal: true

require 'gamefic-standard'

class TestPlot < Gamefic::Plot
  include Gamefic::Standard
end

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

  # Seed global randomization in this process using the `--seed` CLI option.
  # Setting this allows you to use `--seed` to deterministically reproduce
  # test failures related to randomization by passing the same `--seed` value
  # as the one that triggered the failure.
  Kernel.srand config.seed

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.after :each do
    TestPlot.blocks.clear
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gamefic-standard-3.2.4 spec-opal/spec_helper.rb
gamefic-standard-3.2.3 spec-opal/spec_helper.rb
gamefic-standard-3.2.2 spec-opal/spec_helper.rb
gamefic-standard-3.2.1 spec-opal/spec_helper.rb
gamefic-standard-3.2.0 spec-opal/spec_helper.rb
gamefic-standard-3.1.0 spec-opal/spec_helper.rb
gamefic-standard-3.0.0 spec-opal/spec_helper.rb