Sha256: ae08997b01b64af35f6e80245507de42655402caefd0ad898f37a1ee045c4661
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
require 'spec_helper' describe PufferPages::Liquid::Tags::Scope do let(:klass) do Class.new do include PufferPages::Backends::Mixins::Renderable def render *args render_template *args end end end let(:template) do klass.new end specify { template.render("{% scope foo: 'hello' %}{{ foo }}{% endscope %}").should == 'hello' } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puffer_pages-0.5.1 | spec/lib/liquid/tags/scope_spec.rb |
puffer_pages-0.5.0 | spec/lib/liquid/tags/scope_spec.rb |