Sha256: d92ebb68e84d828efd3c732c6fe13e73f80892716e023acf1f34b7c2d397bccd

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'hawatel_ps'
require 'factory_girl'

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods

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

  config.before(:suite) do
    FactoryGirl.definition_file_paths = %W(spec/linux/factories spec/windows/factories)
    FactoryGirl.find_definitions
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hawatel_ps-0.1.2 spec/spec_helper.rb
hawatel_ps-0.1.1 spec/spec_helper.rb