Sha256: f7f00da40b5b92bcb9ddecbbcc1782515d75fbfaec15c756a77e6ace67d44346

Contents?: true

Size: 636 Bytes

Versions: 1

Compression:

Stored size: 636 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'octogate'
require 'tapp'
require 'webmock/rspec'

WebMock.disable_net_connect!

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.order = 'random'

  config.before(:suite) do
    Octogate::ConfigLoader.load_config(config_file)
  end
end

def push_payload
  File.read(File.join(File.dirname(File.expand_path(__FILE__)), 'push_payload.json'))
end

def config_file
  File.join(File.dirname(File.expand_path(__FILE__)), 'config_sample.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
octogate-0.1.0 spec/spec_helper.rb