mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 21:46:24 +02:00
added tests
This commit is contained in:
parent
35408343e3
commit
55657bd8ef
2 changed files with 44 additions and 1 deletions
|
@ -28,7 +28,7 @@ class ApiV1AuctionUpdateTest < ActionDispatch::IntegrationTest
|
|||
assert_equal ({ 'id' => '1b3ee442-e8fe-4922-9492-8fcb9dccc69c',
|
||||
'domain' => 'auction.test',
|
||||
'status' => Auction.statuses[:awaiting_payment],
|
||||
'platform' => nil }), ActiveSupport::JSON.decode(response.body)
|
||||
'platform' => "auto" }), ActiveSupport::JSON.decode(response.body)
|
||||
end
|
||||
|
||||
def test_marks_as_awaiting_payment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue