Sha256: 951520b1e37172358daf8b875986b79fd9af622aa58ad2c7be9a64c32bf68ad7

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'pry'
require 'rspec'
require 'pumper'
require 'rspec/its'
require 'active_support/all'

Dir['spec/support/**/*.rb'].each do |file|
  require File.join(File.dirname(__FILE__), '..', file)
end

RSpec.configure do |config|
  config.before(:each, stub_system: true) do
    $OUTPUT = []
    module Kernel
      def system(cmd)
        $OUTPUT << cmd
      end
    end
  end

  config.after(:each, stub_system: true) do
    $OUTPUT = []
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pumper-1.3.0 spec/spec_helper.rb
pumper-1.2.0 spec/spec_helper.rb
pumper-1.0.1 spec/spec_helper.rb
pumper-0.0.1 spec/spec_helper.rb