Sha256: 3126ba641aa9dc7d8d8249204ee1741653496fb447b0f59ec1346e14ddb399bc
Contents?: true
Size: 337 Bytes
Versions: 20
Compression:
Stored size: 337 Bytes
Contents
module SinatraMore 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
20 entries across 20 versions & 1 rubygems