Sha256: 97355ebd4fdcb648fe8fb3bd96f50bb5b0a85018877daaf3a8c8ef779d576f89
Contents?: true
Size: 502 Bytes
Versions: 9
Compression:
Stored size: 502 Bytes
Contents
# -*- coding: utf-8 -*- require File.expand_path('../plugin_helper', __FILE__) describe "bq plugin w/" do def setup_bq_plugin( mode ) fake_plugin(:bq) { |plugin| plugin.mode = mode } end describe "src only." do before do plugin = setup_bq_plugin('lateste') @body_snippet = plugin.bq('foo') end it { expect(@body_snippet).to eq(expected_html_body( :src => 'foo')) } end def expected_html_body(options) %|<blockquote>\n<p>#{options[:src]}</p>\n</blockquote>\n| end end
Version data entries
9 entries across 9 versions & 1 rubygems