Sha256: d688028d7da4bbe3afa59eb79d351ee0f7d84a6cdbd9e1a3b91df14b7c5b9b5c
Contents?: true
Size: 534 Bytes
Versions: 5
Compression:
Stored size: 534 Bytes
Contents
describe Card::Format::Nest do it "doesn't crash because of a loop in email templates" do # 'follower notification email' in closed view is trapped in a loop of # rendering a user card. # It is expected to stop after a few iterations because we have a maximum # content length for closed view. So if this crashes it's likely that # there is a bug in calculating the @char_count in closed mode. content = render_content "{{Email Templates+*type+by update|content}}" expect(content).to be_truthy end end
Version data entries
5 entries across 5 versions & 1 rubygems