Sha256: cb05ff1f5cc341455954f50ec08a31007665457d4d24503edee843b9a4ff3bc9

Contents?: true

Size: 505 Bytes

Versions: 5

Compression:

Stored size: 505 Bytes

Contents

require 'simplecov'
if ENV["COVERAGE"]
  SimpleCov.start do
    add_filter "/spec/"
    add_filter "/lib/phenomenal/viewer"
  end
end

require 'rspec'
require "phenomenal"
require "test_classes.rb"

RSpec.configure do |config|
  config.color_enabled = true
  config.formatter     = 'progress'
end

def force_forget_context(context)
  while phen_context_active?(context) do
    phen_deactivate_context(context)
  end
  phen_forget_context(context)
end

def define_test_classes
  load "test_classes.rb"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phenomenal-1.2.4 spec/spec_helper.rb
phenomenal-1.2.3 spec/spec_helper.rb
phenomenal-1.2.2 spec/spec_helper.rb
phenomenal-1.2.1 spec/spec_helper.rb
phenomenal-1.1.1 spec/spec_helper.rb