Skip to content

Commit

Permalink
Merge pull request #129 from steemit/improve-test-comment-options
Browse files Browse the repository at this point in the history
Improve comment with options test
  • Loading branch information
Fabien authored Apr 24, 2017
2 parents d5e70f5 + 1edbc99 commit 69df9f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "steem",
"version": "0.5.4",
"version": "0.5.5",
"description": "Steem.js the JavaScript API for Steem blockchain",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions test/comment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Promise from 'bluebird';
import should from 'should';
import steemAuth from '../src/auth';
import steemBroadcast from '../src/broadcast';
import pkg from '../package.json';

const username = process.env.STEEM_USERNAME || 'guest123';
const password = process.env.STEEM_PASSWORD;
Expand All @@ -26,8 +27,11 @@ describe('steem.broadcast:', () => {
author: username,
permlink,
title: 'Test',
body: 'Hello!',
json_metadata :"{\"tags\":[\"steem\"],\"app\":\"steemjs\/0.5.3\",\"format\":\"markdown\"}"
body: `This is a test using Steem.js v${pkg.version}.`,
json_metadata : JSON.stringify({
tags: ['test'],
app: `steemjs/${pkg.version}`
})
}
],
['comment_options', {
Expand Down

0 comments on commit 69df9f2

Please sign in to comment.