Sha256: 9936f76252c1f6d1e34591d5b4aa99ff59b96c4a8b4672b6fbc590c8102ad0a3

Contents?: true

Size: 807 Bytes

Versions: 4

Compression:

Stored size: 807 Bytes

Contents

# frozen_string_literal: true

require 'gamefic'
require 'ostruct'

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

  config.after :each do
    Gamefic::Narrative.blocks.clear
    Gamefic::Plot.blocks.clear
    Gamefic::Subplot.blocks.clear
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamefic-3.2.1 spec-opal/spec_helper.rb
gamefic-3.2.0 spec-opal/spec_helper.rb
gamefic-3.1.0 spec-opal/spec_helper.rb
gamefic-3.0.0 spec-opal/spec_helper.rb