Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

### Fixed

- [CI] Check all changed PR file pages when requiring changelog updates.
- [API] Ignore `If-Modified-Since` when `If-None-Match` is present.
- [API] Use weak comparison for `If-None-Match` validation.
- [Deferred] Ignore missing temp files during async disk storage cleanup.
Expand Down
3 changes: 3 additions & 0 deletions spec/support/contexts/mocked_rage_routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

RSpec.shared_context "mocked_rage_routes" do
before do
# Keep builder specs stable regardless of the local checkout directory name.
allow(Rage).to receive(:root).and_return(Rage.root.class.new("/tmp/rage"))

allow(Rage.__router).to receive(:routes) do
routes.map do |method_path_component, controller_action_component|
method, path = method_path_component.split(" ", 2)
Expand Down