Sha256: e0090698b9dde3a3caa474c0de7825eb12d7891825a14caa9d8d5b09f0053eaa
Contents?: true
Size: 333 Bytes
Versions: 4
Compression:
Stored size: 333 Bytes
Contents
module Sinatra module BaconTestGen BACON_SETUP = <<-TEST \nclass Bacon::Context include Rack::Test::Methods end def app CLASS_NAME.tap { |app| app.set :environment, :test } end TEST def setup_test require_dependencies 'bacon', :env => :testing insert_test_suite_setup BACON_SETUP end end end
Version data entries
4 entries across 4 versions & 1 rubygems