Permalink
Browse files

Remove unnneeded stub in ServerSpec.

  • Loading branch information...
jcoglan committed Apr 19, 2011
1 parent 4c57887 commit e502bd9b8e1bcca2b9742dec7db3b675bce15f82
Showing with 0 additions and 2 deletions.
  1. +0 −1 spec/javascript/server_spec.js
  2. +0 −1 spec/ruby/server_spec.rb
@@ -1,7 +1,6 @@
JS.ENV.ServerSpec = JS.Test.describe("Server", function() { with(this) {
before(function() { with(this) {
this.engine = {}
- stub(engine, "addSubscriber")
stub(Faye.Engine, "get").returns(engine)
this.server = new Faye.Server()
}})
View
@@ -6,7 +6,6 @@
before do
Faye::Engine.stub(:get).and_return engine
- engine.stub(:add_subscriber)
end
describe :handshake do

0 comments on commit e502bd9

Please sign in to comment.