Sha256: 4dd057cc585e2de6432b07bcd105f5c44ce7bb6800ce13ec0ad5bf69cefde4ce

Contents?: true

Size: 263 Bytes

Versions: 9

Compression:

Stored size: 263 Bytes

Contents

require 'bacon'
require 'sinatra/test'

Sinatra::Default.set(
  :environment => :test,
  :run => false,
  :raise_errors => true,
  :logging => false
)

module Sinatra::Test
  def should
    @response.should
  end
end

Bacon::Context.send(:include, Sinatra::Test)

Version data entries

9 entries across 9 versions & 5 rubygems

Version Path
Syd-sinatra-0.9.0.4 lib/sinatra/test/bacon.rb
bmizerany-sinatra-0.9.0.4 lib/sinatra/test/bacon.rb
bmizerany-sinatra-0.9.0.5 lib/sinatra/test/bacon.rb
rtomayko-sinatra-0.9.0.2 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.0.4 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.0.5 lib/sinatra/test/bacon.rb
sinatra-0.9.0.3 lib/sinatra/test/bacon.rb
sinatra-0.9.0.5 lib/sinatra/test/bacon.rb
sinatra-0.9.0.4 lib/sinatra/test/bacon.rb