79c79cbc by Michael Richards

Don't overwrite the default adapter in the binding spec.

1 parent 85ae960a
...@@ -2,14 +2,7 @@ describe('Rivets.Binding', function() { ...@@ -2,14 +2,7 @@ describe('Rivets.Binding', function() {
2 var model, el, view, binding, opts; 2 var model, el, view, binding, opts;
3 3
4 beforeEach(function() { 4 beforeEach(function() {
5 adapter = { 5 adapter = rivets.adapters['.']
6 subscribe: function() {},
7 unsubscribe: function() {},
8 read: function() { return {} },
9 publish: function() {}
10 };
11
12 rivets.adapters['.'] = adapter;
13 6
14 el = document.createElement('div'); 7 el = document.createElement('div');
15 el.setAttribute('data-text', 'obj.name'); 8 el.setAttribute('data-text', 'obj.name');
......