Sha256: 4aa1c812a9f5cfb13f5f3ec39e09bcb2bf5b2d01b411539229e37c438b1eb565

Contents?: true

Size: 465 Bytes

Versions: 8

Compression:

Stored size: 465 Bytes

Contents

require 'spec_helper'

describe RemoteRun::Task do
  let(:command) { double(:command) }
  subject { RemoteRun::Task.new(command) }
  it { should be }
  its(:command) { should == command }

  describe "pid attribute" do
    let(:pid) { double(:pid) }
    before { subject.pid = pid }
    its(:pid) { should == pid }
  end

  describe "host attribute" do
    let(:host) { double(:host) }
    before { subject.host = host }
    its(:host) { should == host }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
remote_run-0.1.9 spec/remote_run/task_spec.rb
remote_run-0.1.8 spec/remote_run/task_spec.rb
remote_run-0.1.7 spec/remote_run/task_spec.rb
remote_run-0.1.6 spec/remote_run/task_spec.rb
remote_run-0.1.5 spec/remote_run/task_spec.rb
remote_run-0.1.4 spec/remote_run/task_spec.rb
remote_run-0.1.3 spec/remote_run/task_spec.rb
remote_run-0.1.2 spec/remote_run/task_spec.rb