Sha256: cc404710d8af2ae428baf94cd9bb9ccb82a5ec4f28806f28928eea0bfe68d9b8

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

module SinatraMore
  module BaconTestGen
    BACON_SETUP = <<-TEST
\nclass Bacon::Context
  include Rack::Test::Methods
end

def app
  CLASS_NAME
end
TEST

    def setup_test
      insert_require 'bacon', :path => "test/test_config.rb"
      insert_test_suite_setup BACON_SETUP
    end
    
  end
end


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sinatra_more-0.3.6 generators/components/tests/bacon_test_gen.rb
sinatra_more-0.3.5 generators/components/tests/bacon_test_gen.rb
sinatra_more-0.3.4 generators/components/tests/bacon_test_gen.rb
sinatra_more-0.3.3 generators/components/tests/bacon_test_gen.rb
sinatra_more-0.3.2 generators/components/tests/bacon_test_gen.rb
sinatra_more-0.3.1 generators/components/tests/bacon_test_gen.rb
sinatra_more-0.3.0 generators/components/tests/bacon_test_gen.rb