Skip to content

Commit

Permalink
Fix specs on Ruby 2.0 when running Tilt 2.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jan 14, 2025
1 parent 1e5db56 commit e531f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/plugin/render_coverage_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
end

r.get "path" do
render(:path=>"./spec/views/about.erb", :locals=>{:title => "About Roda"}, :template_opts=>{:fixed_locals=>'(title:)'})
render(:path=>"./spec/views/about.erb", :locals=>{:title => "About Roda"}, :template_opts=>{:fixed_locals=>'(title: raise)'})
end

r.get "not-exist" do
Expand Down

0 comments on commit e531f21

Please sign in to comment.