Skip to content

Commit 8d3e191

Browse files
committed
Fix module reference in spec
1 parent 78844b1 commit 8d3e191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/examples/ice_cube_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@
338338
offset_wday = (wday + offset) % 7
339339

340340
context "starting on weekday #{wday} selecting weekday #{offset} with a #{lead} day advance window" do
341-
let(:biweekly) { Rule.weekly(2).day(0, 1, 2, 3, 4, 5, 6) }
342-
let(:schedule) { Schedule.new(start_week + (IceCube::ONE_DAY * wday)) { |s| s.rrule biweekly } }
341+
let(:biweekly) { IceCube::Rule.weekly(2).day(0, 1, 2, 3, 4, 5, 6) }
342+
let(:schedule) { IceCube::Schedule.new(start_week + (IceCube::ONE_DAY * wday)) { |s| s.rrule biweekly } }
343343
let(:expected_date) { expected_week + (IceCube::ONE_DAY * offset_wday) }
344344
let(:range) { [expected_date - (IceCube::ONE_DAY * lead), expected_date] }
345345

0 commit comments

Comments
 (0)