Sha256: f36f39cb2b490f3083d040bd8c85ee905bc326c1a79c151031886d8ddb6455b7

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

import { AbstractTestCase } from 'internal-test-helpers';
import { runArrayTests } from '../helpers/array';

class PushObjectsTests extends AbstractTestCase {
  '@test should raise exception if not Ember.Enumerable is passed to pushObjects'() {
    let obj = this.newObject([]);

    expectAssertion(() => obj.pushObjects('string'));
  }
}

runArrayTests('pushObjects', PushObjectsTests, 'MutableArray', 'NativeArray', 'ArrayProxy');

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/-internals/runtime/tests/mutable-array/pushObjects-test.js
discourse-ember-source-3.5.1.1 dist/es/ember-runtime/tests/mutable-array/pushObjects-test.js
discourse-ember-source-3.5.1.0 dist/dist/es/ember-runtime/tests/mutable-array/pushObjects-test.js