From 4dc1cd39750f828e6a9507df5f713415536c562e Mon Sep 17 00:00:00 2001 From: robdel12 Date: Thu, 6 Oct 2016 21:28:41 -0500 Subject: [PATCH] Remove deprecations from test output --- addon/components/x-option.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/x-option.js b/addon/components/x-option.js index 436dc1a..a808012 100644 --- a/addon/components/x-option.js +++ b/addon/components/x-option.js @@ -39,7 +39,7 @@ export default Ember.Component.extend({ if (this.get('select.multiple') && isArray(this.get('select.value'))) { let selectValue = Ember.A(this.get('select.value')); - return selectValue.contains(this.get('value')); + return selectValue.includes(this.get('value')); } else { return this.get('value') === this.get('select.value'); }