Sha256: 16820ca5451ea780f2209cdfa92dacd4ff2708dca8903f9ccb2857b704fbf100

Contents?: true

Size: 525 Bytes

Versions: 2

Compression:

Stored size: 525 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.require :test

require 'simplecov'
SimpleCov.start do
  add_filter '/spec/'
end

require 'minitest/autorun'
require 'tincan'

# Support files
Dir["#{File.expand_path(File.dirname(__FILE__))}/support/*.rb"].each do |file|
  require file
end

class IntegrationTest < MiniTest::Spec
  include Rack::Test::Methods
  include RequestMacros

  def app
    Tincan::Application
  end

  def teardown
    super
    Tincan.redis.flushdb
  end

  register_spec_type(/integration$/, self)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tincan-0.1.6 spec/spec_helper.rb
tincan-0.1.5 spec/spec_helper.rb