Skip to content

Commit

Permalink
Merge pull request #939 from y-yagi/ci_against_ruby34
Browse files Browse the repository at this point in the history
CI against Ruby 3.4
  • Loading branch information
y-yagi authored Jan 14, 2025
2 parents c4fa6cc + 4bd6472 commit f74a2d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
fail-fast: false
matrix:
ruby:
- 3.4
- 3.3
- 3.2
- 3.1
Expand Down
2 changes: 1 addition & 1 deletion spec/draper/decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ module Draper
it "includes the context" do
decorator = Decorator.new(double, context: {foo: "bar"})

expect(decorator.inspect).to include '@context={:foo=>"bar"}'
expect(decorator.inspect).to include "@context=#{{foo: "bar"}}"
end

it "includes other instance variables" do
Expand Down

0 comments on commit f74a2d4

Please sign in to comment.