Sha256: dc958e7d5f05e1cc7b454eb2fd7f3b5ed05683bbcbf7bfa5473d5f509d24fc12
Contents?: true
Size: 774 Bytes
Versions: 3
Compression:
Stored size: 774 Bytes
Contents
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/rails/config/environment") require "#{File.expand_path(File.dirname(__FILE__))}/../rails/init" require 'spec' require 'spec/rails' def fake_controller_request stub('request', :env => { 'HTTP_HOST' => 'test_host', 'KEY_ONE' => 'key_one_value', 'LOOOOOOOONG_KEY_TWO' => 'key_two_value', 'rack.session' => { :id => '123123' }, 'rack.session.options' => {}, 'rack.request.cookie_hash' => {} }, :method => 'post', :parameters => 'params', :format => 'html', :protocol => 'http://', :request_uri => '/my/uri') end class LoggedException < ActiveRecord::Base include Tartarus::Logger end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tartarus-1.0.3 | spec/spec_helper.rb |
tartarus-1.0.1 | spec/spec_helper.rb |
tartarus-1.0.0 | spec/spec_helper.rb |