Sha256: 7d536e763d738dee825b61b2bd721265bf848645ad4fd60c0d83167cba98c0b3

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

dir = File.dirname __FILE__
crystal_dir = File.expand_path "#{dir}/../.."
lib_dir = "#{crystal_dir}/lib"
$LOAD_PATH << lib_dir unless $LOAD_PATH.include? lib_dir

require 'crystal/controller'
require 'crystal/http'

require 'crystal/spec'

Spec::Example::ExampleGroup.class_eval do
  def self.with_abstract_controller_spec
    before :all do
      crystal.after :environment do
        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.11 spec/controller/helper.rb