Sha256: 4ee683e14e316c40d530563b6e9a212d8b07e0cf4dd41f17bc87290065633bab

Contents?: true

Size: 412 Bytes

Versions: 6

Compression:

Stored size: 412 Bytes

Contents

Spec::Matchers.define :equal_at_cell do |expected, row, col|
  match do |actual|
    actual == expected
  end

  failure_message_for_should do |actual|
    "expected #{actual} to equal #{expected} (row:#{row}, cell:#{col})"
  end

  failure_message_for_should_not do |actual|
    "expected #{actual} not to equal #{expected} (row:#{row}, cell:#{col})"
  end

  description do
    "to equal #{expected}"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jruby-poi-0.6.1 specs/support/matchers/cell_matcher.rb
jruby-poi-0.6.0 specs/support/matchers/cell_matcher.rb
jruby-poi-0.5.2 specs/support/matchers/cell_matcher.rb
jruby-poi-0.5.1 specs/support/matchers/cell_matcher.rb
jruby-poi-0.5.0 specs/support/matchers/cell_matcher.rb
jruby-poi-0.4.0 specs/support/matchers/cell_matcher.rb