Skip to content

Commit

Permalink
Add CHANGELOG entry for rails#345
Browse files Browse the repository at this point in the history
Follow-up to 87683a1.

This adds a CHANGELOG entry, plus a minor code cleanup.
  • Loading branch information
jonathanhefner committed Dec 24, 2023
1 parent e26cca7 commit abe0ae5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Main (3.0.0.alpha)
* [#320](https://github.com/rails/sdoc/pull/320) Remove jQuery [@jonathanhefner](https://github.com/jonathanhefner)
* [#322](https://github.com/rails/sdoc/pull/322) Use `type="search"` for search input [@jonathanhefner](https://github.com/jonathanhefner)
* [#323](https://github.com/rails/sdoc/pull/323) Update favicon [@jonathanhefner](https://github.com/jonathanhefner)
* [#345](https://github.com/rails/sdoc/pull/345) Version explicit links to `api.rubyonrails.org` [@jonathanhefner](https://github.com/jonathanhefner)

2.6.1
=====
Expand Down
6 changes: 3 additions & 3 deletions spec/postprocessor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
HTML

with_env("HORO_PROJECT_VERSION" => "3.2.1", "HORO_PROJECT_NAME" => "My Rails Gem") do
postprocessed = _(SDoc::Postprocessor.process(rendered))
postprocessed.must_include %(<a href="https://api.rubyonrails.org/classes/ActiveRecord/Base.html">Learn more</a>)
postprocessed.must_include %(<a href="https://guides.rubyonrails.org/testing.html">Testing</a>)
postprocessed = SDoc::Postprocessor.process(rendered)
_(postprocessed).must_include %(<a href="https://api.rubyonrails.org/classes/ActiveRecord/Base.html">Learn more</a>)
_(postprocessed).must_include %(<a href="https://guides.rubyonrails.org/testing.html">Testing</a>)
end
end

Expand Down

0 comments on commit abe0ae5

Please sign in to comment.