Sha256: ea9b21d75d8559870f02575f8410501b2ae814c65950369a1d4f8fa27b5755f4
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
require 'rspec_ext' require 'rad/http' require 'rad/router' require 'rad/spec/environment' rspec do def self.with_router_spec before :all do rad.after :environment do rad.register :router, depends_on: :environment do Rad::Router.new(:class, [[:default_router, Rad::SimpleRouter.new]]) end rad.conveyors.web.use Rad::Processors::Router, :class_variable, :method_variable end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rad_core-0.0.13 | spec/router/spec_helper.rb |