Class: Lanes::API::TestSpecs

Inherits:
Object
  • Object
show all
Defined in:
lib/lanes/api/test_specs.rb

Instance Method Summary collapse

Constructor Details

#initialize(root) ⇒ TestSpecs

Returns a new instance of TestSpecs.



9
10
11
# File 'lib/lanes/api/test_specs.rb', line 9

def initialize(root)
    @root = root
end

Instance Method Details

#css_filesObject



13
14
15
# File 'lib/lanes/api/test_specs.rb', line 13

def css_files
    urlpath Jasmine::Core.css_files
end

#js_filesObject



17
18
19
20
21
22
# File 'lib/lanes/api/test_specs.rb', line 17

def js_files
    urlpath(Jasmine::Core.js_files)   +
    urlpath(Jasmine::Core.boot_files) +
    urlpath(spec_files("helpers"))    +
    urlpath(spec_files("client"))
end