Sha256: b548206ee52d4fe39a3e1118665113d926e3c6fec92f53efee3cac73c3ba8a05

Contents?: true

Size: 389 Bytes

Versions: 10

Compression:

Stored size: 389 Bytes

Contents

require 'spec_helper'

describe Arachni::BrowserCluster::Job::Result do
    let(:job) { Factory[:custom_job] }
    subject { described_class.new }
    it { should respond_to :job }
    it { should respond_to :job= }

    describe '#initialize' do
        it 'sets the given data via accessors' do
            described_class.new( job: job ).job.id.should == job.id
        end
    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arachni-1.2.1 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.2 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.1 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.0.6 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.0.5 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.0.4 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.0.3 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.0.2 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.0.1 spec/arachni/browser_cluster/job/result_spec.rb
arachni-1.0 spec/arachni/browser_cluster/job/result_spec.rb