File: export_html_spec.rb

package info (click to toggle)
ruby-rqrcode 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 420 kB
  • sloc: ruby: 753; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
require "spec_helper"

describe "Export::HTML" do
  it "must respond_to html" do
    expect(RQRCode::QRCode.new("html")).to respond_to(:as_html)
  end

  it "must export to html" do
    expect(RQRCode::QRCode.new("html").as_html).to eq(AS_HTML)
  end
end