Sha256: 9ad70a94a46518fd897563f02142134044e4d0da9f26b72f290af50dabd825eb

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

module JsTestCore
  module Representations
    class Spec < Page
      protected
      def title_text
        "Js Test Core Suite"
      end

      def head_content
        spec_script_elements
      end

      def spec_script_elements
        spec_files.each do |file|
          script :type => "text/javascript", :src => file.relative_path
        end
      end
      
      def body_content
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pivotal-screw-unit-0.4.0 vendor/js-test-core/lib/js_test_core/representations/spec.html.rb
pivotal-screw-unit-0.4.1 vendor/js-test-core/lib/js_test_core/representations/spec.html.rb