Sha256: 310c58354d678ffb760c236061c256d8e97ec2c8e0897810d9976ba4dc59f5b4
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
require 'spec_helper' describe PayoneerCsv::Transaction do let(:attributes) { { description: 'Sample transaction', amount: '123.99', created_at: '10/19/2012 11:38:12 PM' } } let(:transaction) { described_class.new(attributes) } subject { transaction } its(:description) { should == attributes[:description] } its(:amount) { should == attributes[:amount].to_f } its(:created_at) { should == attributes[:created_at] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
payoneer_csv-0.1.0 | spec/payoneer_csv/transaction_spec.rb |