Sha256: ac61de15c8d6e847b504c89569b8efd79bd2636fe9f5a1b4df257adaa65b642f

Contents?: true

Size: 328 Bytes

Versions: 26

Compression:

Stored size: 328 Bytes

Contents

require 'spec_helper'

shared_examples_for "a task" do |task_type|

  # NOTE: process and subject must be defined by callee

  it { expect(subject.process).to eq(process)  }
  it { expect(subject.uuid).to_not be_nil }
  it { expect(subject.to_s).to match(/#{subject.uuid}/) }
  it { expect(subject.options).to_not be_nil }

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
taskinator-0.3.6 spec/examples/task_examples.rb
taskinator-0.3.5 spec/examples/task_examples.rb
taskinator-0.3.3 spec/examples/task_examples.rb
taskinator-0.3.2 spec/examples/task_examples.rb
taskinator-0.3.1 spec/examples/task_examples.rb
taskinator-0.3.0 spec/examples/task_examples.rb