Sha256: 4502228a01fcd5069e302c427ec915150de83ada618759b9b6410daf74ea247d

Contents?: true

Size: 255 Bytes

Versions: 19

Compression:

Stored size: 255 Bytes

Contents

require 'bacon'
require 'sinatra/test'

Sinatra::Default.set(
  :env => :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

19 entries across 19 versions & 8 rubygems

Version Path
Syd-sinatra-0.9.0.2 lib/sinatra/test/bacon.rb
bmizerany-sinatra-0.8.10 lib/sinatra/test/bacon.rb
bmizerany-sinatra-0.8.9 lib/sinatra/test/bacon.rb
bmizerany-sinatra-0.9.0.2 lib/sinatra/test/bacon.rb
p8-castronaut-0.6.1.1 vendor/sinatra/lib/sinatra/test/bacon.rb
relevance-castronaut-0.6.0 vendor/sinatra/lib/sinatra/test/bacon.rb
relevance-castronaut-0.6.1 vendor/sinatra/lib/sinatra/test/bacon.rb
relevance-castronaut-0.7.4 vendor/sinatra/lib/sinatra/test/bacon.rb
relevance-castronaut-0.7.5 vendor/sinatra/lib/sinatra/test/bacon.rb
rtomayko-sinatra-0.8.10 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.8.10 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.8.9 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.0.1 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.0.2 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.0 lib/sinatra/test/bacon.rb
nbudin-castronaut-0.7.5 vendor/sinatra/lib/sinatra/test/bacon.rb
sinatra-0.9.0 lib/sinatra/test/bacon.rb
sinatra-0.9.0.1 lib/sinatra/test/bacon.rb
sinatra-0.9.0.2 lib/sinatra/test/bacon.rb