Skip to content

Commit 1167c9c

Browse files
committed
update blockchain spec
1 parent 358ec70 commit 1167c9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/blockchain.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('embark.blockchain', function() {
1010
var blockchain = new Blockchain(blockchainConfig);
1111

1212
it('should return correct cmd', function() {
13-
assert.strictEqual(blockchain.generate_basic_command(), "geth --datadir=\"/tmp/embark\" --logfile=\"/tmp/embark.log\" --port 30303 --rpc --rpcport 8101 --rpcaddr localhost --networkid "+blockchainConfig.networkId+" --rpccorsdomain * --minerthreads \"1\" --genesis=\"config/genesis.json\" --rpcapi \"eth,web3\" --maxpeers 4 --password config/password ");
13+
assert.strictEqual(blockchain.generate_basic_command(), "geth --datadir=\"/tmp/embark\" --password config/password --port 30303 --rpc --rpcport 8101 --rpcaddr localhost --networkid "+blockchainConfig.networkId+" --rpccorsdomain=\"*\" --minerthreads \"1\" --mine --rpcapi \"eth,web3\" --maxpeers 4 ");
1414
});
1515
});
1616

@@ -19,7 +19,7 @@ describe('embark.blockchain', function() {
1919
blockchain.generate_basic_command = sinon.stub().returns("geth ");
2020

2121
it('should generate command to list accounts', function() {
22-
assert.equal(blockchain.list_command(), "geth account list ");
22+
assert.equal(blockchain.list_command(), "geth --datadir=\"/tmp/embark\" --password config/password account list ");
2323
});
2424
});
2525

@@ -28,7 +28,7 @@ describe('embark.blockchain', function() {
2828
blockchain.generate_basic_command = sinon.stub().returns("geth ");
2929

3030
it('should generate command to create an account', function() {
31-
assert.equal(blockchain.init_command(), "geth account new ");
31+
assert.equal(blockchain.init_command(), "geth --datadir=\"/tmp/embark\" --password config/password account new ");
3232
});
3333
});
3434

0 commit comments

Comments
 (0)