lib/stamped/rspec.rb in stamped-0.2.0 vs lib/stamped/rspec.rb in stamped-0.2.1
- old
+ new
@@ -1,6 +1,4 @@
-require 'rspec'
-
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