https://github.com/RubyMoney/money
Revision 7c64da7c1f8c69face308442e05df4e8ac6dc9bc authored by Deepak Hagadur Bheemaraju on 09 October 2020, 23:21:42 UTC, committed by GitHub on 09 October 2020, 23:21:42 UTC
* Raise expception when default currency is not set or passed as parameter

* Raise DefaultCurrencyNotSetOrPassed exception.
* After checking default currency this exception is raised.

* Raise the exception in initializer.

* Fix all the test cases by passing currency.
Left few test cases to get clarification.

* Fix the tests and add test case to test DefaultCurrencyNotSet exception.
1 parent aac5ec0
Raw File
Tip revision: 7c64da7c1f8c69face308442e05df4e8ac6dc9bc authored by Deepak Hagadur Bheemaraju on 09 October 2020, 23:21:42 UTC
Raise exception when default currency is not set or passed as parameter (#950)
Tip revision: 7c64da7
Gemfile
# frozen_string_literal: true

source 'https://rubygems.org'

gem 'coveralls', '>= 0.8.17', require: false
gem 'pry', require: false

gemspec
back to top