Skip to content

Commit

Permalink
Fix plugin names and tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andras Toth <andras.toth93@gmail.com>
  • Loading branch information
tothandras committed Aug 12, 2014
1 parent 520ee7b commit dbd8239
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion www/console_view/guanlecoja/config.coffee
Expand Up @@ -9,7 +9,7 @@ module.exports =
### ###########################################################################################
# Name of the plugin
### ###########################################################################################
name: 'buildbot.console_view'
name: 'console_view'
bower:
testdeps:
jquery:
Expand Down
2 changes: 1 addition & 1 deletion www/console_view/src/module/main.module.spec.coffee
Expand Up @@ -20,7 +20,7 @@ describe 'Console view', ->
data = state.data
expect(state.controller).toBe("#{name}Controller")
expect(state.controllerAs).toBe('c')
expect(state.templateUrl).toBe("buildbot.console_view/views/#{name}.html")
expect(state.templateUrl).toBe("console_view/views/#{name}.html")
expect(state.url).toBe("/#{name}")
expect(data.tabid).toBe(name)
expect(data.tabhash).toBe("##{name}")
Expand Down
Expand Up @@ -14,7 +14,7 @@ describe 'Builders header directive controller', ->
# Put fake html template to templateCache
# The other solution would be to use ngHtml2JsPreprocessor, but in this case
# only the directive controller is tested
$templateCache.put('buildbot.console_view/views/buildersheader.html', '<div></div>')
$templateCache.put('console_view/views/buildersheader.html', '<div></div>')

$scope = $rootScope.$new()
element = angular.element('<builders-header builders="builders"></builders-header>')
Expand Down
2 changes: 1 addition & 1 deletion www/waterfall_view/guanlecoja/config.coffee
Expand Up @@ -9,7 +9,7 @@ module.exports =
### ###########################################################################################
# Name of the plugin
### ###########################################################################################
name: 'buildbot.waterfall_view'
name: 'waterfall_view'
bower:
testdeps:
jquery:
Expand Down
2 changes: 1 addition & 1 deletion www/waterfall_view/src/module/main.module.spec.coffee
Expand Up @@ -25,7 +25,7 @@ if window.__karma__?
data = state.data
expect(state.controller).toBe("#{name}Controller")
expect(state.controllerAs).toBe('w')
expect(state.templateUrl).toBe("buildbot.waterfall_view/views/#{name}.html")
expect(state.templateUrl).toBe("waterfall_view/views/#{name}.html")
expect(state.url).toBe("/#{name}")
expect(data.tabid).toBe(name)
expect(data.tabhash).toBe("##{name}")
Expand Down

0 comments on commit dbd8239

Please sign in to comment.