Skip to content

Commit

Permalink
[FIX] web: correct forward-ported test
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Dec 12, 2018
1 parent f351dd8 commit 151414f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/web/static/tests/views/pivot_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ QUnit.module('Views', {
'<field name="fubar" string="fubar" type="measure"/>' +
'</pivot>',
});
assert.ok(pivot.$el.hasClass('o_pivot'),'Non stored fields can have a string attribute');
assert.containsOnce(pivot, '.o_pivot', 'Non stored fields can have a string attribute');
pivot.destroy();
});

Expand Down

0 comments on commit 151414f

Please sign in to comment.