Sha256: 22ddf23e67102ed3aa92167cfe96025cbb1530c2a9076a47c38f93ab5d84e1a7
Contents?: true
Size: 425 Bytes
Versions: 6
Compression:
Stored size: 425 Bytes
Contents
describe "Controller: MainCtrl", () -> MainCtrl = {} scope = {} beforeEach(module('<%= application_name %>')) MainCtrl = {} scope = {} beforeEach(inject( ($rootScope, $controller) -> scope = $rootScope.$new() MainCtrl = $controller( 'MainCtrl', { $scope: scope }) )) it "should attach a list of awesomeThings to the scope", () -> expect(scope.awesomeThings.length).toBe(3)
Version data entries
6 entries across 6 versions & 1 rubygems