Add unit tests for AdminCreateOrderCycleCtrl angular controller

This commit is contained in:
Rohan Mitchell
2012-12-05 16:09:20 +11:00
parent 55423d2df1
commit 0a6686b592
12 changed files with 440 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
basePath = '../';
files = [
ANGULAR_SCENARIO,
ANGULAR_SCENARIO_ADAPTER,
'test/e2e/**/*.js'
];
autoWatch = false;
browsers = ['Chrome'];
singleRun = true;
proxies = {
'/': 'http://localhost:8000/'
};
junitReporter = {
outputFile: 'test_out/e2e.xml',
suite: 'e2e'
};

View File

@@ -0,0 +1,24 @@
basePath = '../';
files = [
JASMINE,
JASMINE_ADAPTER,
'app/assets/javascripts/shared/angular.js',
'app/assets/javascripts/shared/angular-*.js',
//'test/lib/angular/angular-mocks.js',
'app/assets/javascripts/admin/order_cycle.js.erb',
'spec/javascripts/unit/**/*.js*'
];
exclude = ['**/.#*']
autoWatch = true;
browsers = ['Chrome'];
junitReporter = {
outputFile: 'log/testacular-unit.xml',
suite: 'unit'
};