autocomplete send form after uri handled
This commit is contained in:
parent
8b25b5932f
commit
8acaca75fb
6 changed files with 37 additions and 7 deletions
|
|
@ -373,7 +373,7 @@ describe("Unit: Controllers", function() {
|
|||
beforeEach(inject(function($controller, $rootScope) {
|
||||
scope = $rootScope.$new();
|
||||
var routeParams = {
|
||||
data: 'bitcoin:19mP9FKrXqL46Si58pHdhGKow88SUPy1V8%3Famount=1&message=a%20bitcoin%20donation'
|
||||
data: 'bitcoin:19mP9FKrXqL46Si58pHdhGKow88SUPy1V8%3Famount=0.1&message=a%20bitcoin%20donation'
|
||||
};
|
||||
what = $controller('UriPaymentController', {
|
||||
$scope: scope,
|
||||
|
|
@ -389,7 +389,7 @@ describe("Unit: Controllers", function() {
|
|||
should.exist(what);
|
||||
scope.protocol.should.equal('bitcoin');
|
||||
scope.address.should.equal('19mP9FKrXqL46Si58pHdhGKow88SUPy1V8');
|
||||
scope.amount.should.equal(1);
|
||||
scope.amount.should.equal(0.1);
|
||||
scope.message.should.equal('a bitcoin donation');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue