Sha256: 9b1cec87e9c10ba7e73c7ba88e954aa440f7862a789b064e6433a5e9bfa3f2f7

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Chain::FailureData, '#hash' do
  subject { object.hash }

  let(:object)    { described_class.new(data, exception) }
  let(:data)      { mock }
  let(:exception) { mock }

  it { should eql(described_class.hash ^ data.hash ^ exception.class.hash) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
substation-0.0.9 spec/unit/substation/chain/failure_data/hash_spec.rb