edubkendo
9/3/2012 - 12:16 AM

ircBotTest after changing new App.IrcBot to App.IrcBot.build

ircBotTest after changing new App.IrcBot to App.IrcBot.build

ircBot = null

describe "App.IrcBot", ->
  describe "fields", ->
    beforeEach (done) ->
      ircBot = App.IrcBot.build
        channel: "A channel"
        server: "A server"
        name: "A name"

      done()

    test "channel", ->
      assert.ok ircBot.get("channel")

    test "server", ->
      assert.ok ircBot.get("server")

    test "name", ->
      assert.ok ircBot.get("name")

  describe "relations", ->