Sha256: a91faebbd9e152f33b30e6f002e34a2d5c989333c34b51925fc5e97af873b6d7

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

require "spec_helper"

RSpec.describe FalseClass do
  describe "#to_burlap" do
    before do
      @result = false.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>0</boolean>")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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