Refactor config file/path handling.

This commit is contained in:
Christian Williams
2009-12-28 16:27:02 -06:00
parent 2045226ba7
commit 81aeeeedee
15 changed files with 150 additions and 76 deletions

View File

@@ -0,0 +1,12 @@
class JasmineHelper
def self.files
#return a list of files you want to load before your spec defintions load
[]
end
def self.stylesheets
#return a list of stylesheets you want to load in the runner
[]
end
end

View File

@@ -0,0 +1,11 @@
describe('Example', function () {
it('should have a passing test', function() {
expect(true).toEqual(true);
});
describe('nested describe', function () {
it('should also have a passing test', function () {
expect(true).toEqual(true);
});
});
});

View File

@@ -0,0 +1 @@
//You may load required files here, or create test-runner-wide environment settings.