Sha256: 9962649bf7ef88ed8c6c5eba20302eaaa5c6b00cf39e9d34d5b776d13db23c0f

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

require 'coveralls'
require 'date'
require 'wlog/domain/invoice'
require 'wlog/domain/issue'
require 'wlog/domain/log_entry'
require 'wlog/tech/git_commit_parser'

Coveralls.wear!

$sn = 0

module DomainHelpers
  def sn
    old = $sn
    $sn += 1
  old end

  # Make a log entry but don't store it
  def make_log_entry
    le = LogEntry.new(:description => "Desc ##{sn}")
  le end

  def make_issue
    is = Issue.new(:description => "Desc #{sn}",
      :due_date => DateTime.now,
      :status => 0,
      :timelog => 10,
      :long_description => "big desc #{sn}")
  is end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wlog-1.2.2 spec/spec_helper.rb