Sha256: 13b786f431367c317e4338d18bccd1d27ae76e73d407b7d65f92f98638ad7699

Contents?: true

Size: 618 Bytes

Versions: 2

Compression:

Stored size: 618 Bytes

Contents

require "spec_helper"

describe SpecFlow do
  subject(:task) do
    task = SpecFlow.new()
    task.extend(SystemPatch)
    task.command = "specflow"
    task.report = :nunitexecutionreport
    task.project = "myproject.csproj"
    task
  end

  let(:cmd) { task.system_command }

  before :each do
    task.execute
  end

  it "should use the command" do
    cmd.should include("specflow")
  end 

  it "should use the given report" do
    cmd.should include("nunitexecutionreport")
  end 

  it "should use the given project" do
    cmd.should include("\"myproject.csproj\"")
  end 
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-1.0.0 spec/specflow_spec.rb
albacore-1.0.0.rc.3 spec/specflow_spec.rb