Skip to content

Instantly share code, notes, and snippets.

View nickaroot's full-sized avatar
🎯
Focusing

Nick nickaroot

🎯
Focusing
View GitHub Profile
@nickaroot
nickaroot / CodableDecimalSpec.swift
Created March 30, 2020 14:36 — forked from darrarski/CodableDecimalSpec.swift
Swift Codable, Decimal <~> String encoding
import Quick
import Nimble
class CodableDecimalSpec: QuickSpec {
override func spec() {
context("encode Model to JSON") {
var model: Model!
var json: [String: String]?
beforeEach {