lib/screw_unit/representations/spec.html.rb in pivotal-screw-unit-server-0.5.10 vs lib/screw_unit/representations/spec.html.rb in pivotal-screw-unit-server-0.5.11
- old
+ new
@@ -1,8 +1,15 @@
module ScrewUnit
module Representations
class Spec < JsTestCore::Representations::Spec
+ class << self
+ def jquery_js_file
+ @jquery_js_file ||= "/core/jquery-1.3.2.js"
+ end
+ attr_writer :jquery_js_file
+ end
+
needs :spec_files
def title_text
"Screw Unit suite"
end
@@ -98,17 +105,11 @@
script :src => "/core/screw.matchers.js"
script :src => "/core/screw.events.js"
script :src => "/core/screw.behaviors.js"
end
- def project_js_files
- end
-
- def project_css_files
- end
-
def jquery_js_file
- "/core/jquery-1.3.2.js"
+ self.class.jquery_js_file
end
def body_content
div :id => "screw_unit_content"
end
\ No newline at end of file