@@ -56,14 +56,14 @@ contract('VanityURL', function(accounts) {
56
56
return tokenInstance . balanceOf . call ( account_two ) ;
57
57
} ) . then ( function ( balance ) {
58
58
account_two_starting_balance = balance . toNumber ( ) ;
59
- return vanityInstance . reserve ( 'vinay035 ' , { from :accounts [ 1 ] } ) ;
59
+ return vanityInstance . reserve ( 'vinay_035 ' , { from :accounts [ 1 ] } ) ;
60
60
} ) . then ( function ( instance ) {
61
- return vanityInstance . retrieveWalletForVanity . call ( 'vinay035 ' ) ;
61
+ return vanityInstance . retrieveWalletForVanity . call ( 'vinay_035 ' ) ;
62
62
} ) . then ( function ( result ) {
63
63
assert . equal ( result , accounts [ 1 ] , "Should be able to retrive the same wallet address" ) ;
64
64
return vanityInstance . retrieveVanityForWallet . call ( accounts [ 1 ] ) ;
65
65
} ) . then ( function ( result ) {
66
- assert . equal ( result , 'vinay035 ' , "Should be able to retrive the same vanity" ) ;
66
+ assert . equal ( result , 'vinay_035 ' , "Should be able to retrive the same vanity" ) ;
67
67
} ) . then ( function ( ) {
68
68
return tokenInstance . balanceOf . call ( account_one ) ;
69
69
} ) . then ( function ( balance ) {
@@ -117,12 +117,12 @@ contract('VanityURL', function(accounts) {
117
117
118
118
it ( "should be able to transfer a vanity" , function ( ) {
119
119
return vanityInstance . transferOwnershipForVanityURL ( accounts [ 3 ] , { from :accounts [ 1 ] } ) . then ( function ( instance ) {
120
- return vanityInstance . retrieveWalletForVanity . call ( 'vinay035 ' ) ;
120
+ return vanityInstance . retrieveWalletForVanity . call ( 'vinay_035 ' ) ;
121
121
} ) . then ( function ( result ) {
122
122
assert . equal ( result , accounts [ 3 ] , "Should be able to retrive the same wallet address" ) ;
123
123
return vanityInstance . retrieveVanityForWallet . call ( accounts [ 3 ] ) ;
124
124
} ) . then ( function ( result ) {
125
- assert . equal ( result , 'vinay035 ' , "Should be able to retrive the same vanity" ) ;
125
+ assert . equal ( result , 'vinay_035 ' , "Should be able to retrive the same vanity" ) ;
126
126
} ) . catch ( function ( error ) {
127
127
assert . isUndefined ( error , "should be able to reserve a url" )
128
128
} )
0 commit comments