aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/windowSpec.js
blob: c539e2853f37fc8e2c33d846031e826a7c7177da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict';

describe('$window', function() {
  var scope;

  beforeEach(function() {
    scope = angular.scope();
  });


  afterEach(function() {
    dealoc(scope);
  });


  it("should inject $window", function() {
    expect(scope.$service('$window')).toBe(window);
  });
});