Sha256: dac0f4b1caa6ad27d2bc314fd23014fafaf97f01ee02862954b5713b1b12f02f
Contents?: true
Size: 369 Bytes
Versions: 20
Compression:
Stored size: 369 Bytes
Contents
module SinatraMore module ShouldaTestGen SHOULDA_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/unit', 'shoulda', :env => :testing insert_test_suite_setup SHOULDA_SETUP end end end
Version data entries
20 entries across 20 versions & 1 rubygems