konacha-chai-matchers 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Konacha
2
2
  module Chai
3
3
  module Matchers
4
- VERSION = "0.0.15"
4
+ VERSION = "0.0.16"
5
5
  end
6
6
  end
7
7
  end
@@ -1,4 +1,4 @@
1
- // Generated by CoffeeScript 1.3.3
1
+ // Generated by CoffeeScript 1.4.0
2
2
  (function() {
3
3
 
4
4
  (function(chaiBackbone) {
@@ -50,8 +50,11 @@
50
50
  }
51
51
  current_history = Backbone.history;
52
52
  Backbone.history = new Backbone.History;
53
+ if (!((utils.type(router) === 'object') && (router instanceof Backbone.Router))) {
54
+ throw TypeError('provided router is not a Backbone.Router');
55
+ }
56
+ expect(router).to.be.an.instanceOf(Backbone.Router);
53
57
  stub = sinon.stub(router, methodName);
54
- this.assert(router._bindRoutes != null, 'provided router is not a Backbone.Router');
55
58
  router._bindRoutes();
56
59
  if (options.considering != null) {
57
60
  _ref = options.considering;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Sinon.JS 1.5.2, 2013/02/05
2
+ * Sinon.JS 1.5.2, 2013/02/08
3
3
  *
4
4
  * @author Christian Johansen (christian@cjohansen.no)
5
5
  * @author Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konacha-chai-matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-05 00:00:00.000000000 Z
12
+ date: 2013-02-08 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A set of Chai.js libraries ready to use for Konacha
15
15
  email:
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  version: '0'
65
65
  requirements: []
66
66
  rubyforge_project: konacha-chai-matchers
67
- rubygems_version: 1.8.25
67
+ rubygems_version: 1.8.24
68
68
  signing_key:
69
69
  specification_version: 3
70
70
  summary: Chai.js plugins collection for Konacha