Skip to content

Commit

Permalink
fixup! Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Dec 2, 2024
1 parent 47e1093 commit 101c42e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#++

FactoryBot.define do
factory :scheduled_meeting, class: "ScheduledMeeting" do |m|
factory :scheduled_meeting, class: "ScheduledMeeting" do
recurring_meeting
cancelled { false }
meeting { nil }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@

context "when updating the start_date to the same time" do
let(:params) do
{ start_date: Time.zone.today + 1.days }
{ start_date: Time.zone.today + 1.day }
end

it "keeps that cancelled occurrence" do
expect(service_result).to be_success
expect(updated_meeting.start_time).to eq(Time.zone.today + 1.days + 10.hours)
expect(updated_meeting.start_time).to eq(Time.zone.today + 1.day + 10.hours)

expect { scheduled_meeting.reload }.not_to raise_error
end
Expand Down

0 comments on commit 101c42e

Please sign in to comment.