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

Version Path
nikki-0.6.2 features/step_definitions/new_entry.steps.rb
nikki-0.6.1 features/step_definitions/new_entry.steps.rb
nikki-0.6.0 features/step_definitions/new_entry.steps.rb
nikki-0.5.7 features/step_definitions/new_entry.steps.rb
nikki-0.5.6 features/step_definitions/new_entry.steps.rb
nikki-0.5.5 features/step_definitions/new_entry.steps.rb
nikki-0.5.4 features/step_definitions/new_entry.steps.rb
nikki-0.5.3 features/step_definitions/new_entry.steps.rb
nikki-0.5.2 features/step_definitions/new_entry.steps.rb
nikki-0.5.1 features/step_definitions/new_entry.steps.rb
nikki-0.5.0 features/step_definitions/new_entry.steps.rb
nikki-0.4.5 features/step_definitions/new_entry.steps.rb
nikki-0.4.3 features/step_definitions/new_entry.steps.rb
nikki-0.4.2 features/step_definitions/new_entry.steps.rb
nikki-0.4.1 features/step_definitions/new_entry.steps.rb
nikki-0.4.0 features/step_definitions/new_entry.steps.rb