spec/cal/day_spec.rb in cal-0.1.0 vs spec/cal/day_spec.rb in cal-0.2.0
- old
+ new
@@ -1,7 +1,8 @@
require 'spec_helper'
describe Cal::Day do
+
subject { described_class.new @date, @calendar }
before do
@date = Date.new 2012, 1, 15
@calendar = OpenStruct.new :current_day => Date.new(2012, 1, 5)
\ No newline at end of file