Sha256: c854c75f3085c533f32e417868df3fedd8c33a519edd67c0a187d4fd4940056d
Contents?: true
Size: 519 Bytes
Versions: 1
Compression:
Stored size: 519 Bytes
Contents
require 'rspec_ext' require "#{__FILE__.dirname}/helper" require 'crystal/profiles/web_require' require 'crystal/spec' RSpec::Core::ExampleGroup.class_eval do def self.with_controller_ext_spec before :all do crystal.after :environment do crystal.register(:router, :depends_on => :environment){Crystal::Router.new(:class, [Crystal::DefaultRoute.new])} crystal.conveyors.web do |web| web.use Crystal::Processors::ControllerCaller, :content end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crystal_ext-0.0.5 | spec/with_controller_ext.rb |