Sha256: abbb002dc1ff039dd301f756b3de34f4008af8e385b7babee37c8b7473ffd577

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

require 'simplecov'
SimpleCov.start if ENV["COVERAGE"]

require 'minitest/autorun'
require 'webmock/minitest'

require 'rack/test'

require 'rr'
require 'moxy'

class MiniTest::Unit::TestCase
  include RR::Adapters::MiniTest
end

class MiniTest::Spec
  include Rack::Test::Methods
  
  def set_app(app)
    @app = app
  end

  def app
    @app
  end

  def r
    last_response
  end
end



def file_content(file)
  File.read(File.expand_path("files/"+file, File.dirname(__FILE__)))
end




# Project.log = Logger.new('/dev/null')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
moxy-0.0.3 spec/helper.rb
moxy-0.0.2 spec/helper.rb
moxy-0.0.1 spec/helper.rb