Sha256: 90efeeba5798465b22d27454de9265d8bb989dd723a335b87f44082ed38c429e

Contents?: true

Size: 651 Bytes

Versions: 9

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

require 'rubygems'
require 'bundler/setup'
require 'bacon'
require 'mocha-on-bacon'
require 'pretty_bacon'
require 'pathname'

ROOT = Pathname.new(File.expand_path('..', __dir__))
$LOAD_PATH.unshift((ROOT + 'lib').to_s)
$LOAD_PATH.unshift((ROOT + 'spec').to_s)

require 'jazzy'

require 'spec_helper/pre_flight'

Bacon.summary_at_exit

module Bacon
  class Context
    include Jazzy::Config::Mixin

    def temporary_directory
      SpecHelper.temporary_directory
    end
  end
end

Mocha::Configuration.prevent(:stubbing_non_existent_method)

module SpecHelper
  def self.temporary_directory
    ROOT + 'tmp'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jazzy-0.15.3 spec/spec_helper.rb
jazzy-0.15.2 spec/spec_helper.rb
jazzy-0.15.1 spec/spec_helper.rb
jazzy-0.15.0 spec/spec_helper.rb
jazzy-0.14.4 spec/spec_helper.rb
jazzy-0.14.3 spec/spec_helper.rb
jazzy-0.14.2 spec/spec_helper.rb
jazzy-0.14.1 spec/spec_helper.rb
jazzy-0.14.0 spec/spec_helper.rb