-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37ac3e2
commit 178ef2d
Showing
4 changed files
with
66 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,39 @@ | ||
require "rails_helper" | ||
|
||
RSpec.describe Marketplace::SquareOrder do | ||
## TODO | ||
describe "send_to_seller_dashboard" do | ||
it "will return the correct success data" do | ||
# TODO | ||
end | ||
|
||
it "will noop when an error occurs" do | ||
# TODO | ||
end | ||
end | ||
|
||
describe "#prepare_square_create_order_payment_body" do | ||
it "returns the correct object shape and data" do | ||
# TODO | ||
end | ||
|
||
it "returns the correct object shape and data" do | ||
# TODO | ||
end | ||
end | ||
|
||
describe "#prepare_square_create_order_body" do | ||
it "returns the correct object shape and data for a logged-in shopper" do | ||
# TODO | ||
end | ||
|
||
it "returns the correct object shape and data for a guest shopper" do | ||
# TODO | ||
end | ||
end | ||
|
||
describe "#square_idemp_key" do | ||
it "returns a unique string made up of order id and 8 random numbers between 1-10" do | ||
# TODO | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters