Sha256: af4271012d28855397dbdb90a226d43bd83456f1e25cdfa5b31279fea9e45cfc

Contents?: true

Size: 294 Bytes

Versions: 3

Compression:

Stored size: 294 Bytes

Contents

require 'spec_helper'

describe Rexpense::Entities::PreExpense do
  subject { described_class.new({}) }

  it_behaves_like "entity_attributes", [
    :id, :amount, :description, :currency, :created_at, :converted_at, :updated_at,
    :ignored_at, :occurred_at, :tags, :payer, :receiver
  ]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rexpense-2.1.0 spec/lib/rexpense/entities/pre_expense_spec.rb
rexpense-2.0.0 spec/lib/rexpense/entities/pre_expense_spec.rb
rexpense-1.0.0 spec/lib/rexpense/entities/pre_expense_spec.rb