Sha256: f380a8a29eb4bf731f5a909276c4fa58f16dbbde9759a9c64e632f4a43449f08
Contents?: true
Size: 404 Bytes
Versions: 4
Compression:
Stored size: 404 Bytes
Contents
require "spec_helper" describe BrDanfe::DanfeLib::Options do it "returns the default config set in the code" do options = BrDanfe::DanfeLib::Options.new expect(options.logo_path).to eq("") end it "returns the config set in params" do options = BrDanfe::DanfeLib::Options.new({"logo_path" => "/fake/path/file.png"}) expect(options.logo_path).to eq("/fake/path/file.png") end end
Version data entries
4 entries across 4 versions & 1 rubygems