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

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

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