Sha256: f09d462f2b32e7b98926305315e5cc6c2a22fa9601c7b409a236411d53b576b3
Contents?: true
Size: 376 Bytes
Versions: 16
Compression:
Stored size: 376 Bytes
Contents
require "time" require "pathname" require "nikki" class Journal def last_updated Date.today end def yesterday Date.today - 1 end end journal = Journal.new Then(/^a file should be created$/) do end Given(/^:last_updated isn't yesterday$/) do journal.last_updated != journal.yesterday end Then(/^the file "(.*?)" should open in my editor$/) do |arg| end
Version data entries
16 entries across 16 versions & 1 rubygems