Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reindent

  • Loading branch information...
commit b3b73498b06bf9d6149735ee54be17301783b1ce 1 parent 58d9fba
Jamie Dyer kernow authored
Showing with 39 additions and 39 deletions.
  1. +39 −39 spec/runner_spec.js
78 spec/runner_spec.js
View
@@ -1,49 +1,49 @@
Screw.Unit(function() {
- describe("Babylon.Runner", function() {
- var runner = new Object();
- var router = new Object();
- var observer = new Object();
+ describe("Babylon.Runner", function() {
+ var runner = new Object();
+ var router = new Object();
+ var observer = new Object();
- before(function(){
- router = new Babylon.Router();
- observer = new Babylon.Observer();
- runner = new Babylon.Runner(router, observer)
- });
+ before(function(){
+ router = new Babylon.Router();
+ observer = new Babylon.Observer();
+ runner = new Babylon.Runner(router, observer)
+ });
- describe("init", function() {
- it("should set the observer and router", function() {
- expect(runner.router).to_not(equal, null);
- expect(runner.router).to_not(equal, undefined);
+ describe("init", function() {
+ it("should set the observer and router", function() {
+ expect(runner.router).to_not(equal, null);
+ expect(runner.router).to_not(equal, undefined);
- expect(runner.observer).to_not(equal, null);
- expect(runner.observer).to_not(equal, undefined);
- });
- });
+ expect(runner.observer).to_not(equal, null);
+ expect(runner.observer).to_not(equal, undefined);
+ });
+ });
- describe("run", function() {
- var host = "";
- var jid = "";
- var config = {};
+ describe("run", function() {
+ var host = "";
+ var jid = "";
+ var config = {};
- before(function(){
- host = "hth.com";
- jid = "student@hth.com";
- config = {"host": host, "jid": jid}
- runner.run(config)
- });
- it("should set the config", function() {
- expect(Babylon.config).to(equal, config);
- });
+ before(function(){
+ host = "hth.com";
+ jid = "student@hth.com";
+ config = {"host": host, "jid": jid}
+ runner.run(config)
+ });
+ it("should set the config", function() {
+ expect(Babylon.config).to(equal, config);
+ });
- it("should intialize the connection", function() {
- expect(Babylon.Runner.connection).to_not(equal, null);
- expect(Babylon.Runner.connection).to_not(equal, undefined);
- expect(Babylon.Runner.connection.host).to(equal, host);
- });
+ it("should intialize the connection", function() {
+ expect(Babylon.Runner.connection).to_not(equal, null);
+ expect(Babylon.Runner.connection).to_not(equal, undefined);
+ expect(Babylon.Runner.connection.host).to(equal, host);
+ });
- it("should call connect on the connection", function() {
- expect(Babylon.Runner.connection.jid).to(equal, jid);
- });
- });
+ it("should call connect on the connection", function() {
+ expect(Babylon.Runner.connection.jid).to(equal, jid);
+ });
});
+ });
});
Please sign in to comment.
Something went wrong with that request. Please try again.