spec/javascripts/teabag/jasmine/runner_jspec.coffee in teabag-0.5.1 vs spec/javascripts/teabag/jasmine/runner_jspec.coffee in teabag-0.5.2

- old
+ new

@@ -17,24 +17,17 @@ describe "#setup", -> beforeEach -> @runner.params = {grep: "foo"} - @instance = {setFilter: ->} if window.navigator.userAgent.match(/PhantomJS/) @reporterSpy = spyOn(Teabag.Reporters, "Console").andReturn(@instance) else @reporterSpy = spyOn(Teabag.Reporters, "HTML").andReturn(@instance) @addReporterSpy = spyOn(@env, "addReporter") it "sets the updateInterval", -> expect(@env.updateInterval).toEqual(1000) - - it "sets the specFilter", -> - spy = spyOn(@instance, "setFilter") - @runner.setup() - expect(typeof(@env.specFilter)).toEqual("function") - expect(spy).toHaveBeenCalledWith("foo") it "adds the reporter to the env", -> @runner.setup() expect(@reporterSpy).toHaveBeenCalled() expect(@addReporterSpy).toHaveBeenCalled()