Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Update mappings spec to handle 8.2 format #83

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

zstumgoren
Copy link
Contributor

@zstumgoren zstumgoren commented Jul 19, 2017

Blerf. Apologies, should've run rake fech:test:spec before I submitted earlier PR! This minor spec tweak returns tests to green.

The `@encoding` instance variable on a `Filing` object is ignored in
methods such as `Filing#form_type`, which can lead to an `ArgumentError`
("invalid byte sequence in UTF-8"). The included test case demonstrates
such an error when we try to call `Filing#summary`.

This change takes `@encoding` into account when reading the filing from
disk, which avoids the `ArgumentError`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants