We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a2ca9b commit 75a570cCopy full SHA for 75a570c
spec/integration/basic_usage_spec.rb
@@ -0,0 +1,17 @@
1
+# frozen_string_literal: true
2
+
3
+RSpec.describe "Basic SDK Usage" do
4
+ it "can list devices" do
5
+ with_fake_seam_connect do |seam, endpoint|
6
+ devices = seam.devices.list
7
+ expect(devices).to be_a(Array)
8
+ expect(devices).not_to be_nil
9
+ expect(devices.length).to be > 0
10
11
+ device = devices.first
12
+ expect(device).to be_a(Seam::Resources::Device)
13
+ expect(device.device_id).to be_a(String)
14
+ expect(device.created_at).to be_a(Time)
15
+ end
16
17
+end
0 commit comments