Sha256: 2d01e9ab8534ffff52c9f2d75077716d024aca16909c592d285aa42a6d86d34b

Contents?: true

Size: 546 Bytes

Versions: 38

Compression:

Stored size: 546 Bytes

Contents

require "gorgon/unknown_runner"

describe UnknownRunner do
  subject {UnknownRunner}
  it {should respond_to(:run_file).with(1).argument}
  it {should respond_to(:runner).with(0).argument}

  describe "#run_file" do
    it "raises since we don't support this test framework" do
      expect { UnknownRunner.run_file("any_file.rb") }
        .to raise_error UnknownRunner::UNKNOWN_FRAMEWORK_MSG
    end
  end

  describe "#runner" do
    it "returns :unknown_framework" do
      UnknownRunner.runner.should == :unknown_framework
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
gorgon-0.11.0 spec/unknown_runner_spec.rb
gorgon-0.10.5 spec/unknown_runner_spec.rb
gorgon-0.10.4 spec/unknown_runner_spec.rb
gorgon-0.10.3 spec/unknown_runner_spec.rb
gorgon-0.10.2 spec/unknown_runner_spec.rb
gorgon-0.10.1 spec/unknown_runner_spec.rb
gorgon-0.10.0 spec/unknown_runner_spec.rb
gorgon-0.9.0 spec/unknown_runner_spec.rb
gorgon-0.8.4 spec/unknown_runner_spec.rb
gorgon-0.8.3 spec/unknown_runner_spec.rb
gorgon-0.8.2 spec/unknown_runner_spec.rb
gorgon-0.8.1 spec/unknown_runner_spec.rb
gorgon-0.8.0 spec/unknown_runner_spec.rb
gorgon-0.7.1 spec/unknown_runner_spec.rb
gorgon-0.7.0 spec/unknown_runner_spec.rb
gorgon-0.7.0.rc4 spec/unknown_runner_spec.rb
gorgon-0.7.0.rc3 spec/unknown_runner_spec.rb
gorgon-0.7.0.rc2 spec/unknown_runner_spec.rb
gorgon-0.7.0.rc1 spec/unknown_runner_spec.rb
gorgon-0.6.5 spec/unknown_runner_spec.rb