alephant-preview 0.5.0 → 0.5.1
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 +4 -4
- data/lib/alephant/preview/server.rb +1 -1
- data/lib/alephant/preview/version.rb +1 -1
- data/spec/integration/preview_spec.rb +4 -4
- 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: 1285aa73f99b2ecfbdb541e5dcd11807a73a2052
|
4
|
+
data.tar.gz: 8a9d99f6dd7357681b43225ef7d68e62836cb100
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c33b89e90721efe4a2a92de6b75ec6e9813db0179cb04163e7a8255e9d109ca338ce4e1e0c32409992604944e5776aa4f0f2dcab22ea5100652cdfdf8d8d63f0
|
7
|
+
data.tar.gz: a3d32f53336f09a17081f223b169f9f9f5e7c2c051f84bb8b4417556d792544fa97de2dbce04e9529442b0182fe81f5dbf689bd09f8ca7a39aa7ff3af42d4277
|
@@ -6,7 +6,7 @@ describe Alephant::Preview::Server do
|
|
6
6
|
|
7
7
|
describe "preview endpoint (GET /preview/{id}/{template}/{region}/{fixture})" do
|
8
8
|
describe "content" do
|
9
|
-
expected_time =
|
9
|
+
expected_time = "123456789"
|
10
10
|
|
11
11
|
context "with valid data" do
|
12
12
|
before(:each) do
|
@@ -39,7 +39,7 @@ describe Alephant::Preview::Server do
|
|
39
39
|
|
40
40
|
describe "component endpoint (GET /component/{id}/{template}/{fixture})" do
|
41
41
|
describe "content" do
|
42
|
-
expected_time =
|
42
|
+
expected_time = "123456789"
|
43
43
|
|
44
44
|
before(:each) do
|
45
45
|
allow(Time).to receive(:now).and_return(expected_time)
|
@@ -117,7 +117,7 @@ describe Alephant::Preview::Server do
|
|
117
117
|
|
118
118
|
describe 'component batch endpoint (GET /components/batch?components[#{id}]=#{id})' do
|
119
119
|
describe "content" do
|
120
|
-
expected_time =
|
120
|
+
expected_time = "123456789"
|
121
121
|
|
122
122
|
before(:each) do
|
123
123
|
allow(Time).to receive(:now).and_return(expected_time)
|
@@ -202,7 +202,7 @@ describe Alephant::Preview::Server do
|
|
202
202
|
|
203
203
|
describe "component batch endpoint (POST /components/batch" do
|
204
204
|
describe "content" do
|
205
|
-
expected_time =
|
205
|
+
expected_time = "123456789"
|
206
206
|
|
207
207
|
before(:each) do
|
208
208
|
allow(Time).to receive(:now).and_return(expected_time)
|