Sha256: a7d3a26ff0c88e8311de830820a9d4162602b0d7fa99397a4221bd50533388e9

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

require "spec_helper"

describe UrbanDictionary::Entry do
  describe "#to_s" do
    it "should print out the formatted example and definition" do
      UrbanDictionary::Entry.new("pie", "delicious").to_s.should eq("pie\ndelicious")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
urban_dictionary-0.0.2 spec/urban_dictionary/entry_spec.rb