Sha256: e69342fcb3d8c1308585741a55970886ce179d252bf7673c338eb5a3df55adee

Contents?: true

Size: 328 Bytes

Versions: 11

Compression:

Stored size: 328 Bytes

Contents

require 'test_helper'

class BreakTagTest < Minitest::Test
  include Liquid

  # tests that no weird errors are raised if break is called outside of a
  # block
  def test_break_with_no_block
    assigns = {'i' => 1}
    markup = '{% break %}'
    expected = ''

    assert_template_result(expected, markup, assigns)
  end

end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
locomotivecms-liquid-4.0.0 test/integration/tags/break_tag_test.rb
liquid-3.0.6 test/integration/tags/break_tag_test.rb
liquid-3.0.5 test/integration/tags/break_tag_test.rb
liquid-3.0.4 test/integration/tags/break_tag_test.rb
liquid-3.0.3 test/integration/tags/break_tag_test.rb
liquid-3.0.2 test/integration/tags/break_tag_test.rb
locomotivecms-liquid-4.0.0.alpha2 test/integration/tags/break_tag_test.rb
locomotivecms-liquid-4.0.0.alpha1 test/integration/tags/break_tag_test.rb
locomotivecms-liquid-4.0.0.alpha test/integration/tags/break_tag_test.rb
liquid-3.0.1 test/integration/tags/break_tag_test.rb
liquid-3.0.0 test/integration/tags/break_tag_test.rb