epilicious 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 170281222a736d0997d09ba5a446e7164de02de6
4
- data.tar.gz: 15b6029fd20d48e93f4aac367b3c7cac0ffe182b
3
+ metadata.gz: 7662ca891937ffa294408c1fe9a6a4b51a1952ec
4
+ data.tar.gz: 03d0a4c58c77db10336d378e5370c6b841dcc8fc
5
5
  SHA512:
6
- metadata.gz: 708d04bfde5cd51e24c66737d7b3803c3aca4008bb21fd188140ce299dee4d14443ff37c295212dd9579ef7fbf943eb8ffab95c5244e65215a4486966713e225
7
- data.tar.gz: 2efb3f8aa14c7ee8e6448753af7d01e73cfb2753964e4e9b026dd2c1032358d72cd7accbcbddacdfa5a1884bcfc3d9e47bf060447702fd4d7c406978c9efdd12
6
+ metadata.gz: 8c80ad16d1a35fa76f8075b81acc5ce4717039f13f143333fc488e6be1f6e10e9363e323935fd76ad822ef8fbfed2a0f55b013881d480e9eb8f73d8f00807929
7
+ data.tar.gz: cd8c49d241c258d9e5aed8e013deb10ff2120c19ce6878c6bc6950f09ab1a34dd0953965300a5ea525fa208954e6f98d82d4160fc42a28c01f4b227f4bf2744f
data/Rakefile CHANGED
@@ -21,3 +21,8 @@ Rake::TestTask.new(:utilities) do |t|
21
21
  t.libs << "test"
22
22
  t.test_files = FileList["test/**/utilities_test.rb"]
23
23
  end
24
+
25
+ Rake::TestTask.new(:main) do |t|
26
+ t.libs << "test"
27
+ t.test_files = FileList["test/**/epilicious_test.rb"]
28
+ end
@@ -1,2 +1,3 @@
1
1
  module Epilicious
2
- VERSION = "0.3.4" end
2
+ VERSION = "0.3.5"
3
+ end
@@ -1 +1,17 @@
1
1
  require 'test_helper'
2
+
3
+ describe Epilicious do
4
+ let(:cookbook) { Epilicious::CookBook }
5
+
6
+ context ".recipes" do
7
+ it "must call CookBook.recipes with the right url" do
8
+ cookbook.expects(:recipes).with("/test")
9
+ Epilicious.recipes("http://test.com/test")
10
+ end
11
+
12
+ it "must call cookbook with the default url" do
13
+ cookbook.expects(:recipes).with("/recipesmenus/whatsnew/recipes")
14
+ Epilicious.recipes
15
+ end
16
+ end
17
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epilicious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Hein Hoogstad