Skip to content

Commit

Permalink
BAP-8971: fix js tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrosh committed Sep 9, 2015
1 parent d7f39dd commit 40666d0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ define(function (require) {
});

it('renders empty filter', function (done) {
require('oro/filter/none-filter');
var $fieldsLoader = $('<input id="fields_loader"></input>');
$el.append($fieldsLoader);
$fieldsLoader.val('OroCRM\\Bundle\\AccountBundle\\Entity\\Account');
Expand All @@ -76,6 +77,7 @@ define(function (require) {
});

it('renders none filter', function (done) {
require('oro/filter/none-filter');
var $fieldsLoader = $('<input id="fields_loader"></input>');
$el.append($fieldsLoader);
$fieldsLoader.val('OroCRM\\Bundle\\AccountBundle\\Entity\\Account');
Expand Down Expand Up @@ -105,6 +107,7 @@ define(function (require) {
});

it('renders choice filter', function (done) {
require('oro/filter/choice-filter');
var $fieldsLoader = $('<input id="fields_loader"></input>');
$el.append($fieldsLoader);
$fieldsLoader.val('OroCRM\\Bundle\\AccountBundle\\Entity\\Account');
Expand Down Expand Up @@ -196,6 +199,8 @@ define(function (require) {
});

it('replaces filter', function (done) {
require('oro/filter/choice-filter');
require('oro/filter/datetime-filter');
var $fieldsLoader = $('<input id="fields_loader"></input>');
$el.append($fieldsLoader);
$fieldsLoader.val('OroCRM\\Bundle\\AccountBundle\\Entity\\Account');
Expand Down

0 comments on commit 40666d0

Please sign in to comment.