Sha256: 27f7df17506c5abf4248a0022f216954f3a422d415823582fe235bf6fe8ebc6f

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require 'foodie2'

describe Foodie2::Food do
  it "broccoli is gross" do
    Foodie2::Food.portray("Broccoli").should eql("Gross!")
  end

  it "anything else is delicious" do
    Foodie2::Food.portray("Not Broccoli").should eql("Delicious!")
  end

  it "pluralizes a word" do
    Foodie2::Food.pluralize("Tomato").should eql("Tomatoes")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foodie2-0.0.1 spec/foodie2_spec.rb