|
4 | 4 |
|
5 | 5 | describe Square::Terminal::Checkouts::Client do |
6 | 6 | before do |
7 | | - skip "Skipping for now." |
| 7 | + # skip "Skipping for now." |
8 | 8 | @sandbox_device_id = "da40d603-c2ea-4a65-8cfd-f42e36dab0c7" |
9 | 9 |
|
10 | 10 | # Create terminal checkout for testing |
11 | 11 | _create_response = Square::Terminal::Checkouts::Types::CreateTerminalCheckoutRequest.new( |
12 | 12 | idempotency_key: SecureRandom.uuid, |
13 | | - checkout: Square::Terminal::Types::TerminalCheckout.new( |
14 | | - device_options: Square::Terminal::Types::DeviceCheckoutOptions.new( |
| 13 | + checkout: Square::Types::TerminalCheckout.new( |
| 14 | + device_options: Square::Types::DeviceCheckoutOptions.new( |
15 | 15 | device_id: @sandbox_device_id |
16 | 16 | ), |
17 | | - amount_money: Square::Terminal::Types::Money.new( |
| 17 | + amount_money: Square::Types::Money.new( |
18 | 18 | amount: 100, |
19 | 19 | currency: "USD" |
20 | 20 | ) |
|
28 | 28 |
|
29 | 29 | describe "#create" do |
30 | 30 | it "should create terminal checkout" do |
31 | | - skip "Skipping for now." |
| 31 | + # skip "Skipping for now." |
32 | 32 | _request = Square::Terminal::Checkouts::Types::CreateTerminalCheckoutRequest.new( |
33 | 33 | idempotency_key: SecureRandom.uuid, |
34 | | - checkout: Square::Terminal::Types::TerminalCheckout.new( |
35 | | - device_options: Square::Terminal::Types::DeviceCheckoutOptions.new( |
| 34 | + checkout: Square::Types::TerminalCheckout.new( |
| 35 | + device_options: Square::Types::DeviceCheckoutOptions.new( |
36 | 36 | device_id: @sandbox_device_id |
37 | 37 | ), |
38 | | - amount_money: Square::Terminal::Types::Money.new( |
| 38 | + amount_money: Square::Types::Money.new( |
39 | 39 | amount: 100, |
40 | 40 | currency: "USD" |
41 | 41 | ) |
|
55 | 55 |
|
56 | 56 | describe "#search" do |
57 | 57 | it "should search terminal checkouts" do |
58 | | - skip "Skipping for now." |
| 58 | + # skip "Skipping for now." |
59 | 59 | _request = Square::Terminal::Checkouts::Types::SearchTerminalCheckoutsRequest.new( |
60 | 60 | limit: 1 |
61 | 61 | ) |
|
74 | 74 |
|
75 | 75 | describe "#get" do |
76 | 76 | it "should get terminal checkout" do |
77 | | - skip "Skipping for now." |
| 77 | + # skip "Skipping for now." |
78 | 78 | _request = Square::Terminal::Checkouts::Types::GetTerminalCheckoutRequest.new( |
79 | 79 | checkout_id: @checkout_id |
80 | 80 | ) |
|
93 | 93 |
|
94 | 94 | describe "#cancel" do |
95 | 95 | it "should cancel terminal checkout" do |
96 | | - skip "Skipping for now." |
| 96 | + # skip "Skipping for now." |
97 | 97 | _request = Square::Terminal::Checkouts::Types::CancelTerminalCheckoutRequest.new( |
98 | 98 | checkout_id: @checkout_id |
99 | 99 | ) |
|
0 commit comments