Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix error of Metadata#date= #68

Merged
merged 1 commit into from
May 5, 2018
Merged

Conversation

takahashim
Copy link
Contributor

When I add a new spec like below (without fix in lib/gepub/metadata.rb), I got an error:

Failures:

  1) GEPUB::Metadata Generate New OPF should handle date with `date=` method and Time object
     Failure/Error: expect(metadata.date.to_s).to eq('2012-02-27T20:00:00Z')
     
       expected: "2012-02-27T20:00:00Z"
            got: "2012-02-27 20:00:00 UTC"
     
       (compared using ==)
     # ./spec/metadata_spec.rb:160:in `block (3 levels) in <top (required)>'

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 95.647% when pulling bc93830 on takahashim:fix-add-date into 56be5a4 on skoji:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 95.647% when pulling bc93830 on takahashim:fix-add-date into 56be5a4 on skoji:master.

@skoji skoji merged commit b18a738 into skoji:master May 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants