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.10.81 spec/file_reader/shared_context.rb
td-0.10.79 spec/file_reader/shared_context.rb
td-0.10.78 spec/file_reader/shared_context.rb
td-0.10.77 spec/file_reader/shared_context.rb
td-0.10.76 spec/file_reader/shared_context.rb
td-0.10.75 spec/file_reader/shared_context.rb
td-0.10.74 spec/file_reader/shared_context.rb
td-0.10.73 spec/file_reader/shared_context.rb
td-0.10.72 spec/file_reader/shared_context.rb
td-0.10.71 spec/file_reader/shared_context.rb
td-0.10.70 spec/file_reader/shared_context.rb
td-0.10.69 spec/file_reader/shared_context.rb
td-0.10.68 spec/file_reader/shared_context.rb
td-0.10.67 spec/file_reader/shared_context.rb
td-0.10.66 spec/file_reader/shared_context.rb