Sha256: e545608702cf4d2525064536ae9f1dc4b9b6ad29920eb145dc1d05eceac9055d

Contents?: true

Size: 653 Bytes

Versions: 3

Compression:

Stored size: 653 Bytes

Contents

$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)

require 'rubygems'
require 'facturae_print'

RSpec.configure do |config|
  # == Mock Framework
  #
  # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
  #
  # config.mock_with :mocha
  # config.mock_with :flexmock
  # config.mock_with :rr
  config.mock_with :rspec
end

def fixture(name)
  if @fixtures.nil?
    @fixtures ||= {}
    Dir["#{File.expand_path('../fixtures', __FILE__)}/*"].each do |file|
      pathname = Pathname.new(file)
      @fixtures[pathname.basename.to_s] = pathname.read
    end
  end
  @fixtures[name]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facturae_print-0.0.4 spec/spec_helper.rb
facturae_print-0.0.3 spec/spec_helper.rb
facturae_print-0.0.2 spec/spec_helper.rb