Sha256: 93f3fb4a35cc868158f832edd52926662f8acda3563a27a5cc173a523dbe5ec3
Contents?: true
Size: 371 Bytes
Versions: 4
Compression:
Stored size: 371 Bytes
Contents
module Sinatra 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
4 entries across 4 versions & 1 rubygems