Sha256: 7ad64b67fd2668e1a614b506e92d1d57978c23b2555f710a9f909e3f1eb4b1a1
Contents?: true
Size: 604 Bytes
Versions: 31
Compression:
Stored size: 604 Bytes
Contents
Feature: Don't allow template locals to overwrite template helpers Scenario: Normal Template Given an empty app And a file named "config.rb" with: """ class TestExt < ::Middleman::Extension expose_to_template foo: :foo def foo "bar" end end ::Middleman::Extensions.register :test, TestExt activate :test page "/index.html", locals: { foo: false } """ And a file named "source/index.html.erb" with: """ <%= foo %> """ Given a built app at "empty_app" Then the exit status should be 1
Version data entries
31 entries across 31 versions & 3 rubygems