File tree Expand file tree Collapse file tree
app/services/alchemy/update_checks
spec/services/alchemy/update_checks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def request_api
4040 connection . request ( request )
4141 end
4242
43- def uri = "https://www .alchemy-cms.com/update-check"
43+ def uri = "https://app .alchemy-cms.com/update-check"
4444
4545 def content_type = Marcel ::EXTENSIONS [ "json" ]
4646
Original file line number Diff line number Diff line change 1010
1111 context "requesting update-check endpoint" do
1212 before do
13- stub_request ( :post , "https://www .alchemy-cms.com/update-check" )
13+ stub_request ( :post , "https://app .alchemy-cms.com/update-check" )
1414 . to_return (
1515 status : 200 ,
1616 body : { latest_version : "2.6.0" } . to_json ,
2525
2626 context "if update-check endpoint is unavailable" do
2727 before do
28- stub_request ( :post , "https://www .alchemy-cms.com/update-check" ) . to_return ( status : 503 )
28+ stub_request ( :post , "https://app .alchemy-cms.com/update-check" ) . to_return ( status : 503 )
2929 end
3030
3131 it "should raise error" do
You can’t perform that action at this time.
0 commit comments