spec/tailor/ruler_spec.rb in tailor-1.0.0.alpha2 vs spec/tailor/ruler_spec.rb in tailor-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
require_relative '../spec_helper'
require 'tailor/ruler'
describe Tailor::Ruler do
- before { subject.stub(:log) }
+ before { Tailor::Logger.stub(:log) }
describe "#add_child_ruler" do
it "adds new rulers to @child_rulers" do
ruler = double "Ruler"
subject.add_child_ruler(ruler)