Remove spec for #38 (feature regressed).
Showing
1 changed file
with
0 additions
and
6 deletions
... | @@ -258,12 +258,6 @@ describe('Rivets.Binding', function() { | ... | @@ -258,12 +258,6 @@ describe('Rivets.Binding', function() { |
258 | expect(binding.formattedValue('hat')).toBe('awesome hat'); | 258 | expect(binding.formattedValue('hat')).toBe('awesome hat'); |
259 | }); | 259 | }); |
260 | 260 | ||
261 | it('uses formatters on the model', function() { | ||
262 | model.modelAwesome = function(value) { return 'model awesome ' + value; }; | ||
263 | binding.formatters.push('modelAwesome'); | ||
264 | expect(binding.formattedValue('hat')).toBe('model awesome hat'); | ||
265 | }); | ||
266 | |||
267 | describe('with a multi-argument formatter string', function() { | 261 | describe('with a multi-argument formatter string', function() { |
268 | beforeEach(function() { | 262 | beforeEach(function() { |
269 | view.formatters.awesome = function(value, prefix) { | 263 | view.formatters.awesome = function(value, prefix) { | ... | ... |
-
Please register or sign in to post a comment