Skip to content

Commit 7f59c6b

Browse files
committed
enable terminal tests, broken
1 parent 4eeb045 commit 7f59c6b

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

test/square/integration/client_tests/test_terminal.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44

55
describe Square::Terminal::Checkouts::Client do
66
before do
7-
skip "Skipping for now."
7+
# skip "Skipping for now."
88
@sandbox_device_id = "da40d603-c2ea-4a65-8cfd-f42e36dab0c7"
99

1010
# Create terminal checkout for testing
1111
_create_response = Square::Terminal::Checkouts::Types::CreateTerminalCheckoutRequest.new(
1212
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(
1515
device_id: @sandbox_device_id
1616
),
17-
amount_money: Square::Terminal::Types::Money.new(
17+
amount_money: Square::Types::Money.new(
1818
amount: 100,
1919
currency: "USD"
2020
)
@@ -28,14 +28,14 @@
2828

2929
describe "#create" do
3030
it "should create terminal checkout" do
31-
skip "Skipping for now."
31+
# skip "Skipping for now."
3232
_request = Square::Terminal::Checkouts::Types::CreateTerminalCheckoutRequest.new(
3333
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(
3636
device_id: @sandbox_device_id
3737
),
38-
amount_money: Square::Terminal::Types::Money.new(
38+
amount_money: Square::Types::Money.new(
3939
amount: 100,
4040
currency: "USD"
4141
)
@@ -55,7 +55,7 @@
5555

5656
describe "#search" do
5757
it "should search terminal checkouts" do
58-
skip "Skipping for now."
58+
# skip "Skipping for now."
5959
_request = Square::Terminal::Checkouts::Types::SearchTerminalCheckoutsRequest.new(
6060
limit: 1
6161
)
@@ -74,7 +74,7 @@
7474

7575
describe "#get" do
7676
it "should get terminal checkout" do
77-
skip "Skipping for now."
77+
# skip "Skipping for now."
7878
_request = Square::Terminal::Checkouts::Types::GetTerminalCheckoutRequest.new(
7979
checkout_id: @checkout_id
8080
)
@@ -93,7 +93,7 @@
9393

9494
describe "#cancel" do
9595
it "should cancel terminal checkout" do
96-
skip "Skipping for now."
96+
# skip "Skipping for now."
9797
_request = Square::Terminal::Checkouts::Types::CancelTerminalCheckoutRequest.new(
9898
checkout_id: @checkout_id
9999
)

0 commit comments

Comments
 (0)