-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1554 from nervosnetwork/develop
Deploy to testnet
- Loading branch information
Showing
8 changed files
with
77 additions
and
51 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
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
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 |
---|---|---|
|
@@ -549,7 +549,7 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
end | ||
|
||
test "should update successfully when update udt" do | ||
udt = create(:udt, email: "[email protected]", published: true) | ||
udt = create(:udt, email: "[email protected]") | ||
create(:udt_verification, udt: udt) | ||
valid_put api_v1_udt_url("#{udt.type_hash}"), params: { | ||
symbol: "GWK", | ||
|
@@ -561,6 +561,7 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
assert_equal 200, response.status | ||
assert_equal "ok", JSON.parse(response.body) | ||
assert_equal "GWK", udt.reload.symbol | ||
assert_equal true, udt.reload.published | ||
end | ||
end | ||
end | ||
|