Sha256: 68660aedf012af95bef10bdbb11990defd74245d0330591ab95c214fea8e6264

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

require "spec_helper"

describe BrDanfe::Options do
  it "returns the default config set in the code" do
    options = BrDanfe::Options.new
    expect(options.logo_path).to eq("")
  end

  it "returns the config set in params" do
    options = BrDanfe::Options.new({"logo_path" => "/fake/path/file.png"})
    expect(options.logo_path).to eq("/fake/path/file.png")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
br_danfe-0.0.9 spec/lib/options_spec.rb