Class: Lanes::API::TestSpecs
- Inherits:
-
Object
- Object
- Lanes::API::TestSpecs
- Defined in:
- lib/lanes/api/test_specs.rb
Instance Attribute Summary collapse
-
#extension ⇒ Object
Returns the value of attribute extension.
Instance Method Summary collapse
- #css_files ⇒ Object
-
#initialize(ext) ⇒ TestSpecs
constructor
A new instance of TestSpecs.
- #js_files ⇒ Object
Constructor Details
#initialize(ext) ⇒ TestSpecs
Returns a new instance of TestSpecs.
12 13 14 |
# File 'lib/lanes/api/test_specs.rb', line 12 def initialize(ext) @extension = ext end |
Instance Attribute Details
#extension ⇒ Object
Returns the value of attribute extension.
11 12 13 |
# File 'lib/lanes/api/test_specs.rb', line 11 def extension @extension end |
Instance Method Details
#css_files ⇒ Object
16 17 18 |
# File 'lib/lanes/api/test_specs.rb', line 16 def css_files urlpath Jasmine::Core.css_files end |
#js_files ⇒ Object
20 21 22 23 24 25 |
# File 'lib/lanes/api/test_specs.rb', line 20 def js_files [ '/assets/lanes/testing' ] + urlpath(Jasmine::Core.js_files) + urlpath(Jasmine::Core.boot_files) + urlpath(spec_files(extension.identifier)) end |