Sha256: aaef305ecdb14452498a6fd5c48d391e514c4b0401f37da75b9b82169719bfdb

Contents?: true

Size: 299 Bytes

Versions: 4

Compression:

Stored size: 299 Bytes

Contents

require File.expand_path('../../lib/metric', __FILE__)
require 'webmock/rspec'

def reset_config
  Metric.configuration = nil
  Metric.configure do |config|
    config.api_key = "spec"
    config.secret_key = "1234"
  end
end

RSpec.configure do |config|
  config.before(:each) { reset_config }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
metric-0.1.2 spec/spec_helper.rb
metric-0.1.1 spec/spec_helper.rb
metric-0.1.0 spec/spec_helper.rb
metric-0.0.9 spec/spec_helper.rb