Sha256: 6d87982f44a2caf671899197950b7e8f70e35c791e8b5c20c892f783ecd67bd4

Contents?: true

Size: 327 Bytes

Versions: 7

Compression:

Stored size: 327 Bytes

Contents

module SinatraMore
  module TestspecTestGen
    TESTSPEC_SETUP = <<-TEST
\nclass Test::Unit::TestCase
  include Rack::Test::Methods
  
  def app
    CLASS_NAME
  end
end
TEST

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

Version data entries

7 entries across 7 versions & 1 rubygems

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