That won't work as written, since `expectAssertion` only works for `Ember.assert` calls. Another possible test:

```javascript
test("{{bindAttr}} is deprecated", function(){
  expect(1);

  var originalBindAttr = Ember.Handlebars.helpers['bind-attr'],
      originalEmberWarn = Ember.warn;

  Ember.warn = function(){
    ok(true, 'deprecation warning was made');
  }

  Ember.Handlebars.helpers['bind-attr'] = function() {};
  Ember.Handlebars.helpers.bindAttr('foo', 'bar');

  Ember.Handlebars.helpers['bind-attr'] = originalBindAttr;
  Ember.warn = originalEmberWarn;
});
```