Sha256: 15acaecdaef78c5bc3faaa1595a901d825df7ecedd51b66244d90c38fb00565e

Contents?: true

Size: 297 Bytes

Versions: 26

Compression:

Stored size: 297 Bytes

Contents

require 'bacon'
require 'sinatra/test'

Sinatra::Test.deprecate('Bacon')

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

26 entries across 26 versions & 6 rubygems

Version Path
bmizerany-sinatra-0.9.1 lib/sinatra/test/bacon.rb
darkhelmet-sinatra-0.9.0.5 lib/sinatra/test/bacon.rb
darkhelmet-sinatra-0.9.1.1 lib/sinatra/test/bacon.rb
darkhelmet-sinatra-0.9.1 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.1.1 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.1.2 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.1.3 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.1 lib/sinatra/test/bacon.rb
sinatra-sinatra-0.9.2 lib/sinatra/test/bacon.rb
akamai_bookmarklet-0.1.2 vendor/gems/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
akamai_bookmarklet-0.1.1 vendor/gems/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
akamai_bookmarklet-0.1.0 vendor/gems/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.12.2 lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.12.1 lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.12.0.pre3 lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.12.0.pre2 lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.12.0.pre lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.10.17 vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb
middleman-0.10.16 vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb