Sha256: ca5380c6444da295acb149492f0515887bff5865ad4894fb05fdb8d73ff495e8

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

module JsSpec
  module Resources
    class SpecDirRunner < SpecRunner
      attr_reader :dir

      def initialize(dir)
        @dir = dir
      end

      def spec_files
        dir.glob("/**/*_spec.js")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
js_spec-0.2.0 lib/js_spec/resources/spec_dir_runner.rb
js_spec-0.2.1 lib/js_spec/resources/spec_dir_runner.rb