Sha256: 875a4d492a67b31a64db6b5ec77c1004eb44f28d13da45820278c550e8cce51a

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

require "spec_helper"

RSpec.describe Float do
  describe "#to_burlap" do
    subject(:burlap) { 5.0.to_burlap }

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

    it "is correct" do
      expect(burlap).to eq("<double>5.0</double>")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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