Skip to content

Commit

Permalink
Merge pull request #5370 from laboro/ticket/BAP-8971
Browse files Browse the repository at this point in the history
BAP-8971: fix js tests
  • Loading branch information
amuzalevskiy committed Sep 9, 2015
2 parents d7f39dd + 40666d0 commit a38601e
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 a38601e

Please sign in to comment.