File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/lita/handlers/digitalocean
spec/lita/handlers/digitalocean Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def create(response)
44
44
client . domains . create_record ( id , params )
45
45
end or return
46
46
47
- response . reply ( t ( "domain_records.create.created" , do_response [ :domain_record ] ) )
47
+ response . reply ( t ( "domain_records.create.created" , do_response [ :record ] ) )
48
48
end
49
49
50
50
def delete ( response )
Original file line number Diff line number Diff line change 43
43
priority : "123" ,
44
44
record_type : "srv" ,
45
45
weight : "789"
46
- ) . and_return ( status : "OK" , domain_record : { id : 123 } )
46
+ ) . and_return ( status : "OK" , record : { id : 123 } )
47
47
send_command ( "do domain records create example.com srv @ --name foo --priority 123 --port 456 --weight 789" )
48
48
expect ( replies . last ) . to eq ( "Created new DNS record: 123" )
49
49
end
You can’t perform that action at this time.
0 commit comments