chamnap / liquid-rails

Renders liquid templates with layout and partial support
https://rubygems.org/gems/liquid-rails
MIT License
117 stars 102 forks source link

rails_52.gemfile all tests fail #45

Open bfl3tch opened 2 years ago

bfl3tch commented 2 years ago

rails_50.gemfile and rails_51.gemfile both require update to .translate method's second argument, switching it from options.with_indifferent_access to **options.to_sym

rails_52.gemifle fails every test with this stacktrace:

Failure/Error: super

NoMethodError:
undefined method `run_callbacks' for #<RSpec::ExampleGroups::Request::CustomActionviewResolver:0x00007f8ec3db3dd8>
ellery commented 2 years ago

@bfl3tch here is a fix for the tests.

https://github.com/ellery/liquid-rails/commit/1d1f1c422853bc96994a860a770990f2c2ed1bbf