Sha256: 39d0d42790b1b70f78e7727fafde17ad434df88de43d169cd83d6edf9278d3b7
Contents?: true
Size: 586 Bytes
Versions: 2
Compression:
Stored size: 586 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/../../unit_spec_helper") module JsSpec module Resources describe SpecFileRunner, "#spec_files" do attr_reader :absolute_path, :relative_path, :file, :runner before do @absolute_path = "#{spec_root_path}/failing_spec.js" @relative_path = "/specs/failing_spec.js" @file = File.new(absolute_path, relative_path) @runner = SpecFileRunner.new(file) end it "returns the single File to run in an Array" do runner.spec_files.should == [file] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
js_spec-0.2.1 | spec/unit/js_spec/resources/spec_file_runner_spec.rb |
js_spec-0.2.0 | spec/unit/js_spec/resources/spec_file_runner_spec.rb |