Sha256: 6b5d7f8ad0f380ec3c0c2d345c53dbaf55334ac8a6cfa1c1c655312865a58787

Contents?: true

Size: 667 Bytes

Versions: 10

Compression:

Stored size: 667 Bytes

Contents

require 'spec_helper'
require 'albacore/mspectestrunner'

describe MSpecTestRunner, "when providing configuration" do
  let :mspec do
    Albacore.configure do |config|
      config.mspec.command = "test"
    end
    mspec = MSpecTestRunner.new
  end

  it "should use the configured values" do
    mspec.command.should == "test"
  end
end

describe MSpecTestRunner, "when overriding the command through the initializer" do
  let :mspec do
    Albacore.configure do |config|
      config.mspec.command = "configured"
    end
    mspec = MSpecTestRunner.new("override")
  end

  it "should use the command override" do
    mspec.command.should == "override"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
albacore-0.3.6 spec/mspec_spec.rb
albacore-1.0.0.rc.2 spec/mspec_spec.rb
albacore-1.0.0.rc.1 spec/mspec_spec.rb
albacore-0.3.5 spec/mspec_spec.rb
albacore-0.3.4 spec/mspec_spec.rb
albacore-0.3.3 spec/mspec_spec.rb
albacore-0.3.2 spec/mspec_spec.rb
albacore-0.3.1 spec/mspec_spec.rb
albacore-0.3.0 spec/mspec_spec.rb
albacore-0.2.6 spec/mspec_spec.rb