Sha256: bb2f6ed266b8332231625f6ad991e9cba66327a87b66232c53ff2464f87baa61
Contents?: true
Size: 339 Bytes
Versions: 20
Compression:
Stored size: 339 Bytes
Contents
module SinatraMore module RiotTestGen RIOT_SETUP = <<-TEST \nclass Riot::Situation include Rack::Test::Methods def app CLASS_NAME.tap { |app| app.set :environment, :test } end end TEST def setup_test require_dependencies 'riot', :env => :testing insert_test_suite_setup RIOT_SETUP end end end
Version data entries
20 entries across 20 versions & 1 rubygems