Skip to content

Commit

Permalink
Remove more no longer necessary orders
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmir committed Dec 5, 2024
1 parent 84a1b8a commit 791aa38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
end

let(:current_user) { user }
let(:meeting) { RecurringMeeting.order(id: :asc).last }
let(:meeting) { RecurringMeeting.last }
let(:show_page) { Pages::RecurringMeeting::Show.new(meeting) }
let(:meetings_page) { Pages::Meetings::Index.new(project:) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
end

let(:current_user) { user }
let(:show_page) { Pages::StructuredMeeting::Mobile::Show.new(StructuredMeeting.order(id: :asc).last) }
let(:show_page) { Pages::StructuredMeeting::Mobile::Show.new(StructuredMeeting.last) }

include_context "with mobile screen size"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

let(:current_user) { user }
let(:new_page) { Pages::Meetings::New.new(project) }
let(:meeting) { StructuredMeeting.order(id: :asc).last }
let(:meeting) { StructuredMeeting.last }
let(:show_page) { Pages::StructuredMeeting::Show.new(meeting) }
let(:meetings_page) { Pages::Meetings::Index.new(project:) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
end

let(:current_user) { user }
let(:show_page) { Pages::StructuredMeeting::Show.new(StructuredMeeting.order(id: :asc).last) }
let(:show_page) { Pages::StructuredMeeting::Show.new(StructuredMeeting.last) }

before do
login_as current_user
Expand Down

0 comments on commit 791aa38

Please sign in to comment.