mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
clean up some rubocop stuff
This commit is contained in:
@@ -462,10 +462,9 @@ class ContextUnitTest < Minitest::Test
|
||||
end
|
||||
|
||||
def test_context_initialization_with_a_proc_in_environment
|
||||
contx = Context.new([:test => ->(c) { c['poutine'] }], { :test => :foo })
|
||||
contx = Context.new([test: ->(c) { c['poutine'] }], { test: :foo })
|
||||
|
||||
assert contx
|
||||
assert_nil contx['poutine']
|
||||
end
|
||||
|
||||
end # ContextTest
|
||||
|
||||
Reference in New Issue
Block a user