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
History
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
File Mode Size
config
lib
spec
.coveralls.yml -rw-r--r-- 46 bytes
.gitignore -rw-r--r-- 205 bytes
.rspec -rw-r--r-- 30 bytes
.travis.yml -rw-r--r-- 908 bytes
AUTHORS -rw-r--r-- 1.8 KB
CHANGELOG.md -rw-r--r-- 26.8 KB
CONTRIBUTING.md -rw-r--r-- 492 bytes
Gemfile -rw-r--r-- 142 bytes
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 19.3 KB
Rakefile -rw-r--r-- 365 bytes
money.gemspec -rw-r--r-- 1.5 KB

README.md

back to top