epilicious 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -0
- data/lib/epilicious/version.rb +2 -1
- data/test/epilicious_test.rb +16 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7662ca891937ffa294408c1fe9a6a4b51a1952ec
|
4
|
+
data.tar.gz: 03d0a4c58c77db10336d378e5370c6b841dcc8fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c80ad16d1a35fa76f8075b81acc5ce4717039f13f143333fc488e6be1f6e10e9363e323935fd76ad822ef8fbfed2a0f55b013881d480e9eb8f73d8f00807929
|
7
|
+
data.tar.gz: cd8c49d241c258d9e5aed8e013deb10ff2120c19ce6878c6bc6950f09ab1a34dd0953965300a5ea525fa208954e6f98d82d4160fc42a28c01f4b227f4bf2744f
|
data/Rakefile
CHANGED
data/lib/epilicious/version.rb
CHANGED
data/test/epilicious_test.rb
CHANGED
@@ -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
|