Sha256: ad4dabbd361812739ddb3352bc6ee716d9f838ca058deda669293bd703e0d602
Contents?: true
Size: 371 Bytes
Versions: 10
Compression:
Stored size: 371 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', :group => :testing insert_test_suite_setup SHOULDA_SETUP end end end
Version data entries
10 entries across 10 versions & 1 rubygems