Skip to content

Commit

Permalink
Validator mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
esbanarango committed May 14, 2015
1 parent bd1b613 commit d04cabb
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
Empty file removed app/.gitkeep
Empty file.
4 changes: 4 additions & 0 deletions app/mixins/validator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Ember from 'ember';

export default Ember.Mixin.create({
});
Empty file removed tests/unit/.gitkeep
Empty file.
17 changes: 17 additions & 0 deletions tests/unit/mixins/validator-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* jshint expr:true */
import { expect } from 'chai';
import {
describe,
it
} from 'mocha';
import Ember from 'ember';
import ValidatorMixin from '../../../mixins/validator';

describe('ValidatorMixin', function() {
// Replace this with your real tests.
it('works', function() {
var ValidatorObject = Ember.Object.extend(ValidatorMixin);
var subject = ValidatorObject.create();
expect(subject).to.be.ok;
});
});

0 comments on commit d04cabb

Please sign in to comment.