Sha256: 5fc20c95b9c4a8d5665007782589a598b80eb67b0be39cad8d83aae9480a920a

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

require "spec_helper"

RSpec.describe Symbol do
  describe "#to_burlap" do
    subject(:burlap) { :some_value.to_burlap }

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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