Skip to content

Commit

Permalink
update custom message test in corp api spec
Browse files Browse the repository at this point in the history
  • Loading branch information
fogisland authored and Eric-Guo committed Jul 1, 2018
1 parent 42ae03e commit d4e0077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/wechat/corp_api_spec.rb
Expand Up @@ -497,7 +497,7 @@
}

expect(subject.client).to receive(:post)
.with('message/send', payload.to_json,
.with('message/send', JSON.generate(payload),
params: { access_token: 'access_token' }, content_type: :json).and_return(true)

expect(subject.custom_message_send Wechat::Message.to('openid').text('message content')).to be true
Expand Down

0 comments on commit d4e0077

Please sign in to comment.