Skip to content

Commit

Permalink
fixed some lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
larskuhnt committed Apr 25, 2024
1 parent 30a2eb3 commit c7c1970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/examples/schedule_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/examples/weekly_rule_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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") }

Expand Down

0 comments on commit c7c1970

Please sign in to comment.