Sha256: 2eeef36de14793767c24a7d7ac56116455511d2a771f1de3a004c16c3df14535

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

module JsTestCore
  module Representations
    class Spec < Page
      needs :spec_files
      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.2 vendor/js-test-core/lib/js_test_core/representations/spec.html.rb
pivotal-screw-unit-0.4.3 vendor/js-test-core/lib/js_test_core/representations/spec.html.rb