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