spec/validic/sleep_spec.rb in validic-0.2.1 vs spec/validic/sleep_spec.rb in validic-0.3.1
- old
+ new
@@ -23,10 +23,11 @@
end
end
context "#create_sleep" do
it "should create new sleep record" do
+ pending
@new_sleep = client.create_sleep({authentication_token: "mqwpDx8RYcmSFBJDmy3J",
access_token: "DEMO_KEY",
total_sleep: 210,
awake: 10,
deep: 120,
@@ -47,11 +48,11 @@
end
end
context "#get_sleeps by organization" do
before do
- @sleep = client.get_sleeps({organization_id: "519e24e16a7e0cc7ef00002b", access_token: "ENTERPRISE_KEY"})
+ @sleep = client.get_sleeps({organization_id: "51aca5a06dedda916400002b", access_token: "ENTERPRISE_KEY"})
end
it "returns JSON response of Validic::Sleep", vcr: true do
@sleep.should_not be_nil
end
@@ -65,10 +66,10 @@
end
end
context "#get_sleeps by user" do
before do
- @sleep = client.get_sleeps({user_id: "519e24e16a7e0cc7ef00002c"})
+ @sleep = client.get_sleeps({user_id: "52967e076dedda5d4300000b"})
end
it "returns JSON response of Validic::Sleep", vcr: true do
@sleep.should_not be_nil
end