diff --git a/spec/examples/schedule_spec.rb b/spec/examples/schedule_spec.rb index 561890c2..52f4f149 100644 --- a/spec/examples/schedule_spec.rb +++ b/spec/examples/schedule_spec.rb @@ -395,7 +395,7 @@ let(:schedule) do IceCube::Schedule.from_yaml("---\n:start_time:\n :time: 2022-05-05 22:20:00.000000000 Z\n :zone: Africa/Cairo\n:end_time:\n :time: 2022-05-06 21:40:00.000000000 Z\n :zone: Africa/Cairo\n:rrules:\n- :validations:\n :day:\n - 5\n :rule_type: IceCube::WeeklyRule\n :interval: 1\n :week_start: 1\n:rtimes: []\n:extimes: []\n") end - + it "has the correct start time" do expect(schedule.start_time.iso8601).to eq("2022-05-06T00:20:00+02:00") end diff --git a/spec/examples/weekly_rule_spec.rb b/spec/examples/weekly_rule_spec.rb index 50c3ec69..362a4978 100644 --- a/spec/examples/weekly_rule_spec.rb +++ b/spec/examples/weekly_rule_spec.rb @@ -417,7 +417,7 @@ module IceCube let(:time) { utc_tz.parse("2024-04-24 12:00:00") } let(:rule) { Rule.weekly(1, :monday).day(:friday) } - subject { rule.realign(time, start_time)} + subject { rule.realign(time, start_time) } it { puts cairo_tz.parse("2024-04-26T00:20:00") }