 describe "slack api part", ->
 
   slack = new Slack apiToken
-  it ',shoule be return a slack object', (done) ->
+  it 'should return a slack object', (done) ->
     slack.should.be.an.Object
     done()
 
-  it ", run with user.list", (done) ->
+  it "run with user.list", (done) ->
 
     slack.api "users.list", (err, response) ->
       response.should.be.ok.and.an.Object
       done()
 
-describe ", emoji test", ->
+describe "emoji test", ->
 
   slack = new Slack webhookToken, domain
 
-  it ', emoji give empty value', (done) ->
+  it 'emoji give empty value', (done) ->
     obj = slack.detectEmoji()
 
     obj.should.be.an.Array

apiToken = "xoxp-2307918714-2307918716-2307910813-17cabf"
webhookUri = "https://hooks.slack.com/services/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"

describe.only 'slack new webhook test', ->

  slack = new Slack()
  slack.setWebHook(webhookUri)

  it ',should send a correct response', (done) ->

    slack.should.be.an.Object
    done()

  it ',should send a correct response', (done) ->
    slack.webhook
      channel: "#general"
      username: "webhookbot"

    obj["val"].should.equal(":ghost:")
    done()

  it 'emoji using http image url', (done) ->
    obj = slack.detectEmoji("http://icons.iconarchive.com/icons/rokey/popo-emotions/128/after-boom-icon.png")

    obj.should.be.an.Array
