Sha256: 0661682ff60a21a5d62ac916c4d6feeed60a5739a1d8f9533ea78722d356d283

Contents?: true

Size: 161 Bytes

Versions: 1

Compression:

Stored size: 161 Bytes

Contents

RSpec::Matchers.define :be_timestamp do
  match do |actual|
    @expected = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z/
    actual =~ @expected
  end

  diffable
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stamped-0.2.1 lib/stamped/rspec.rb