require 'meal_planner/meal'

describe Meal do
  before do
    @main_dish = "Rice and Meat Sauce"
    @typical_time = "Lunch"
    @meal = Meal.new(@main_dish, @typical_time)
  end

  it "has a main dish" do
    @meal.main_dish.should == @main_dish
  end

  it "has a typical meal time" do
    @meal.typical_time.should == @typical_time
  end

  it "has a string representation" do
    @meal.to_s.should == "Main Dish: #{@main_dish}, Typical Time: #{@typical_time}"
  end
end

require 'meal_planner/meal'

describe Meal do
  before do
    @main_dish = "Rice and Meat Sauce"
    @typical_time = "Lunch"
    @meal = Meal.new(@main_dish, @typical_time)
  end

  it "has a main dish" do
    @meal.main_dish.should == @main_dish
  end

  it "has a typical meal time" do
    @meal.typical_time.should == @typical_time
  end

  it "has a string representation" do
    @meal.to_s.should == "Main Dish: #{@main_dish}, Typical Time: #{@typical_time}"
  end

  context "suggested sides have been added" do
    before do
      @main_dish = "Hashed Browns"
      @typical_time = "Dinner"
      @meal = Meal.new(@main_dish, @typical_time)

      @side1 = Recipe.new("Bacon")
      @meal.add_suggested_side(@side1)
    end

    it "has a suggested side"

  end
end

Add test for suggested sides in a meal
Add test for suggested sides in a meal
