Sha256: f4df46a9ba0c1c96cc5a2e01f38851ae6e13b5c55ebd0bbe646345694ef8868c

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

require "spec_helper"

RSpec.describe TrueClass do
  describe "#to_burlap" do
    before do
      @result = true.to_burlap
    end

    it "returns a string" do
      expect(@result).to be_a_kind_of(String)
    end

    it "is correct" do
      expect(@result).to eq("<boolean>1</boolean>")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
burlap-1.0.0 spec/burlap/core_ext/true_class_spec.rb