Sha256: 2563fb7b9bcb3ead98898a67f6bfba67cd286fe19973c004e261c5cd6ca5d910

Contents?: true

Size: 1.17 KB

Versions: 34

Compression:

Stored size: 1.17 KB

Contents

require 'rack/test'
# require 'simplecov'
require 'faker'

require 'typhoeus'
require_relative '../lib/cuboid'
require_relative '../lib/cuboid/processes'
require_relative '../lib/cuboid/processes/helpers'

require_relative 'support/helpers/paths'
require_relative 'support/helpers/requires'

Dir.glob( "#{support_path}/{lib,helpers,shared,factories}/**/*.rb" ).each { |f| require f }

# Uncomment to show output from spawned processes.
Cuboid::Processes::Manager.preserve_output

RSpec::Core::MemoizedHelpers.module_eval do
    alias to should
    alias to_not should_not
end

RSpec.configure do |config|
    config.example_status_persistence_file_path = '.rspec_status'
    config.run_all_when_everything_filtered = true
    config.color = true
    config.add_formatter :documentation
    config.alias_example_to :expect_it
    config.filter_run_when_matching focus: true

    config.mock_with :rspec do |mocks|
        mocks.yield_receiver_to_any_instance_implementation_blocks = true
    end

    config.before( :each ) do
        reset_all
    end

    config.after( :each ) do
        cleanup_instances
        processes_killall
    end
    config.after( :all ) do
        killall
    end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
cuboid-0.2.13 spec/spec_helper.rb
cuboid-0.2.12 spec/spec_helper.rb
cuboid-0.2.11 spec/spec_helper.rb
cuboid-0.2.10 spec/spec_helper.rb
cuboid-0.2.9 spec/spec_helper.rb
cuboid-0.2.8 spec/spec_helper.rb
cuboid-0.2.7 spec/spec_helper.rb
cuboid-0.2.6 spec/spec_helper.rb
cuboid-0.2.5 spec/spec_helper.rb
cuboid-0.2.4.2 spec/spec_helper.rb
cuboid-0.2.4.1 spec/spec_helper.rb
cuboid-0.2.4 spec/spec_helper.rb
cuboid-0.2.3 spec/spec_helper.rb
cuboid-0.2.2 spec/spec_helper.rb
cuboid-0.2.1 spec/spec_helper.rb
cuboid-0.2 spec/spec_helper.rb
cuboid-0.1.9.1 spec/spec_helper.rb
cuboid-0.1.9 spec/spec_helper.rb
cuboid-0.1.8 spec/spec_helper.rb
cuboid-0.1.7 spec/spec_helper.rb