Sha256: a45a8e0eb2dc89142d91379566c43ba6447f606c70b4d56394b8527ce6fc3c22

Contents?: true

Size: 151 Bytes

Versions: 55

Compression:

Stored size: 151 Bytes

Contents

require 'rspec'

shared_context 'error_proc' do
  let :error do
    Proc.new { |reason, data|
      reason.should match(error_pattern)
    }
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
td-0.13.2 spec/file_reader/shared_context.rb
td-0.13.1 spec/file_reader/shared_context.rb
td-0.13.0 spec/file_reader/shared_context.rb
td-0.12.0 spec/file_reader/shared_context.rb
td-0.11.14 spec/file_reader/shared_context.rb
td-0.11.13 spec/file_reader/shared_context.rb
td-0.11.12 spec/file_reader/shared_context.rb
td-0.11.11.2 spec/file_reader/shared_context.rb
td-0.11.11.1 spec/file_reader/shared_context.rb
td-0.11.11 spec/file_reader/shared_context.rb
td-0.11.10 spec/file_reader/shared_context.rb
td-0.11.9 spec/file_reader/shared_context.rb
td-0.11.8.2 spec/file_reader/shared_context.rb
td-0.11.8.1 spec/file_reader/shared_context.rb
td-0.11.8 spec/file_reader/shared_context.rb
td-0.11.7 spec/file_reader/shared_context.rb
td-0.11.6 spec/file_reader/shared_context.rb
td-0.11.5 spec/file_reader/shared_context.rb
td-0.11.4 spec/file_reader/shared_context.rb
td-0.11.3 spec/file_reader/shared_context.rb