Sha256: 3759ae28f94ce6f412ed45700c9b5676a349896ea2703f6d510a45118d59bd2d

Contents?: true

Size: 657 Bytes

Versions: 2

Compression:

Stored size: 657 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'hawkei'
require 'rspec'
require 'pry'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
  config.mock_with :rspec

  config.before(:each) do
    Hawkei.configure do |config|
      config.api_host  = 'localhost:4003'
      config.api_key = 'acc_xx'
      config.space_name = 'Hawkei'
      config.environment_name = 'test'
      config.http_secure = false
    end
  end

  config.after(:each) do
    Hawkei::Store.clear!
  end

  config.before(:each) do
    Hawkei::Store.clear!
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hawkei-1.1.0 spec/spec_helper.rb
hawkei-1.0.0 spec/spec_helper.rb