Sha256: c08df959a5620700b62720bb1e66794da031d3e0b1f9c0d63ad209f5056a207c

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

# Unit tests for Noths::Money
describe 'Money' do
  let(:instance) { Noths::Money.new }

  describe 'test an instance of Money' do
    it 'should create an instance of Money' do
      expect(instance).to be_instance_of(Noths::Money)
    end
  end
  describe 'test attribute "cents"' do
    it 'should work'
  end

  describe 'test attribute "currency"' do
    it 'should work'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
noths-0.2.1 spec/models/money_spec.rb
noths-0.2.0 spec/models/money_spec.rb