Sha256: be96907947126fdbfddf5e315ea8091d1a07ac0abbcf758dd461a7f92bc0e995

Contents?: true

Size: 375 Bytes

Versions: 30

Compression:

Stored size: 375 Bytes

Contents

module SinatraMore
  module TestspecTestGen
    TESTSPEC_SETUP = <<-TEST
\nclass Test::Unit::TestCase
  include Rack::Test::Methods
  
  def app
    CLASS_NAME.tap { |app| app.set :environment, :test }
  end
end
TEST

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

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
sinatra_more-0.3.43 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.42 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.41 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.40 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.39 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.38 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.37 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.36 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.35 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.34 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.33 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.32 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.31 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.30 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.29 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.28 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.27 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.26 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.25 generators/components/tests/testspec_test_gen.rb
sinatra_more-0.3.24 generators/components/tests/testspec_test_gen.rb