Sha256: a428532a143b982744168a28fad52b4fbf6d9c379b04142d131bf2f77fe63291

Contents?: true

Size: 589 Bytes

Versions: 9

Compression:

Stored size: 589 Bytes

Contents

require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'timecop'
$LOAD_PATH.unshift("#{__dir__}/..", "#{__dir__}/support")

require 'support/shared_contexts'
require 'support/shared_examples'
require 'support/silent_warnings'

require 'support/patch/rack/response'

if ENV['coverage'] == 'true'
  require 'simplecov'
  SimpleCov.start do
    add_filter '/spec/'
  end
end

require 'lib/sitehub'

RSpec.configure do |config|
  include Rack::Test::Methods
  config.before do
    Timecop.freeze
    WebMock.enable!
  end

  config.after(:suite) do
    WebMock.disable!
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sitehub-0.4.10 spec/spec_helper.rb
sitehub-0.5.0.alpha5 spec/spec_helper.rb
sitehub-0.5.0.alpha4 spec/spec_helper.rb
sitehub-0.5.0.alpha3 spec/spec_helper.rb
sitehub-0.5.0.alpha2 spec/spec_helper.rb
sitehub-0.4.9 spec/spec_helper.rb
sitehub-0.4.8 spec/spec_helper.rb
sitehub-0.4.7 spec/spec_helper.rb
sitehub-0.4.6 spec/spec_helper.rb