Sha256: b20d876c960a24bc67750c3d13c5fe368c9bd97307e5a9f62838218604c86b07

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

require_relative '../test-util'
require_relative 'tuple-behavior'

describe 'Pione::Tuple::FinishedTuple' do
  before do
    @domain = "A"
    @status = :success

    name = Model::DataExpr.new("a.txt")
    location = Location["local:/home/keita/"]
    time = Time.now
    data = Tuple::DataTuple.new(@domain, name, location, time)

    @outputs = [data]
    @digest = "A"
    @tuple = Tuple::FinishedTuple.new(@domain, @status, @outputs, @digest)
  end

  behaves_like "tuple"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.2.2 test/tuple/spec_finished-tuple.rb
pione-0.2.1 test/tuple/spec_finished-tuple.rb
pione-0.2.0 test/tuple/spec_finished-tuple.rb