Sha256: cd62e17c41320bbca40eecbc0b38900497cd7c0887a835539cddd9ad59df7bdd
Contents?: true
Size: 609 Bytes
Versions: 9
Compression:
Stored size: 609 Bytes
Contents
require 'rubygems' require 'webmock' require 'logworm' require File.dirname(__FILE__) + '/spec_helper' $: << File.dirname(__FILE__) + '/../lib' describe Logworm, " init" do it "should initialize the logger with a default db" do require 'logworm_client/logger.rb' # ==> Get Logworm::Logger defined Logworm::Logger.should_receive(:use_default_db) require 'action_controller' # ==> Get ActionController defined load 'logworm_client/rails.rb' # ==> does class_eval of ActionController (use load to guarantee require) end end
Version data entries
9 entries across 9 versions & 2 rubygems