Skip to content

Commit

Permalink
Update spec/draper/decorator_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Senko <[email protected]>
  • Loading branch information
y-yagi and Alexander-Senko committed Jan 14, 2025
1 parent 0532aec commit 4bd6472
Showing 1 changed file with 1 addition and 1 deletion.
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 4bd6472

Please sign in to comment.