Sha256: 385bbcff5c38512c397dc8827d03cde51bfbd2e7ddb22f43f3a1240e41c24862

Contents?: true

Size: 739 Bytes

Versions: 10

Compression:

Stored size: 739 Bytes

Contents

require 'spec_helper'

describe Hokkaido::Port do

  
  it "should pass self test" do
    File.directory?("chronic").should be_true
    FileUtils.cp_r "chronic", "chronic-spec"
    @info = ["chronic-spec", "chronic.rb", "chronic-spec/lib"]
    port = Hokkaido::Port.new(@info)
    port.modify
    port.test.should be_true
    FileUtils.rmtree 'chronic-spec'
  end

  it "should produce a FIXME when eval is used" do
    File.directory?("ansiterm-color").should be_true
    FileUtils.cp_r "ansiterm-color", "ansiterm-spec"
    @info = ["ansiterm-spec", "ansicolor.rb", "ansiterm-spec/lib/term"]
    port = Hokkaido::Port.new(@info)
    port.modify
    port.produced_eval_fixme.should be_true
    FileUtils.rmtree 'ansiterm-spec'
  end


end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
Hokkaido-0.1.5 spec/Hokkaido/port_spec.rb
Hokkaido-0.1.4 spec/Hokkaido/port_spec.rb
Hokkaido-0.1.3 spec/Hokkaido/port_spec.rb
Hokkaido-0.1.2 spec/Hokkaido/port_spec.rb
Hokkaido-0.1.1 spec/Hokkaido/port_spec.rb
Hokkaido-0.1.0 spec/Hokkaido/port_spec.rb
Hokkaido-0.0.9 spec/Hokkaido/port_spec.rb
Hokkaido-0.0.6 spec/Hokkaido/port_spec.rb
Hokkaido-0.0.5 spec/Hokkaido/port_spec.rb
Hokkaido-0.0.4 spec/Hokkaido/port_spec.rb