Sha256: 0f3a4ea69044dd30d605cb45693c67334d4b239a53c0e6ae2859e55c9076037c

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require 'test_helper'

describe Epilicious do
  let(:cookbook) { Epilicious::CookBook }

  context ".recipes" do
    it "must call CookBook.recipes with the right url" do
      cookbook.expects(:recipes).with("/test")
      Epilicious.recipes("http://test.com/test")
    end

    it "must call cookbook with the default url" do
      cookbook.expects(:recipes).with("/recipesmenus/whatsnew/recipes")
      Epilicious.recipes
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
epilicious-0.3.5 test/epilicious_test.rb