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.11.2 spec/file_reader/shared_context.rb
td-0.11.1 spec/file_reader/shared_context.rb
td-0.10.99 spec/file_reader/shared_context.rb
td-0.10.98 spec/file_reader/shared_context.rb
td-0.10.97 spec/file_reader/shared_context.rb
td-0.10.96 spec/file_reader/shared_context.rb
td-0.10.95 spec/file_reader/shared_context.rb
td-0.10.94 spec/file_reader/shared_context.rb
td-0.10.93 spec/file_reader/shared_context.rb
td-0.10.92 spec/file_reader/shared_context.rb
td-0.10.91 spec/file_reader/shared_context.rb
td-0.10.90 spec/file_reader/shared_context.rb
td-0.10.89 spec/file_reader/shared_context.rb
td-0.10.88 spec/file_reader/shared_context.rb
td-0.10.87 spec/file_reader/shared_context.rb
td-0.10.86 spec/file_reader/shared_context.rb
td-0.10.85 spec/file_reader/shared_context.rb
td-0.10.84 spec/file_reader/shared_context.rb
td-0.10.83 spec/file_reader/shared_context.rb
td-0.10.82 spec/file_reader/shared_context.rb