text: 'use strict';
  
  describe('Controller: OauthButtonsCtrl', function() {
  
    // load the controller's module
    beforeEach(module('bookApp'));
  
    var OauthButtonsCtrl, $window;
  
    // Initialize the controller and a mock $window
    beforeEach(inject(function($controller) {
      $window = {
        location: {}
      };
  
      OauthButtonsCtrl = $controller('OauthButtonsCtrl', {
        $window: $window
      });
    }));
  
    it('should attach loginOauth', function() {
      expect(OauthButtonsCtrl.loginOauth).toEqual(jasmine.any(Function));
    });
  });
  