import { moduleFor, test } from 'ember-qunit';

moduleFor('adapter:video-stats/channel-timeseries', 'Unit | Adapter | video-stats/channel-timeseries', {
  needs: ['service:api'],
  beforeEach() {
    this.adapter = this.subject();
  }
});

test('buildPath', function(assert) {
  let expectedUrl = `/kraken/channels/foo/analytics`;
  assert.equal(this.adapter.buildPath('foo'), expectedUrl, 'Expected a well formatted URL');
});
