Sha256: db6f63d26310faaa707821c41bdba338ee2e031443ade162e6a84a4585df150f

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

require File.expand_path("#{File.dirname(__FILE__)}/functional_spec_helper")

describe "ScrewUnit" do
  it "runs a full passing Suite" do
    mock(ScrewUnit::Client).puts("SUCCESS")
    ScrewUnit::Client.run(:spec_url => "#{root_url}/specs/foo/passing_spec")
  end

  it "runs a full failing Suite" do
    mock(ScrewUnit::Client).puts("FAILURE")
    mock(ScrewUnit::Client).puts('expected "true" to equal "false"')
    ScrewUnit::Client.run(:spec_url => "#{root_url}/specs/foo/failing_spec")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
btakita-screw_unit-0.1.0 spec/functional/functional_spec.rb