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

Fixes #405. Adds integration tests to asciidoctorj-distribution. #410

Merged

Conversation

robertpanzer
Copy link
Member

#401 has shown that JRuby behaves differently when loading gems from a jar or from an exploded directory.

The current test cases for diagram and pdf only refer to the exploded gems which does not reflect the way gems are loaded by a user, i.e. "in production".

I added a test case to asciidoctorj-distribution that creates a ditaa diagram, very similar to the test in asciidoctorj-diagram.
But as asciidoctorj-diagram is referenced as a dependency, the gem will be loaded from a jar.
#401 can be reproduced with this PR when setting the JRuby version to 1.7.22.

@mojavelinux
Copy link
Member

👍 Real tests FTW!

robertpanzer added a commit that referenced this pull request Nov 23, 2015
Fixes #405. Adds integration tests to asciidoctorj-distribution.
@robertpanzer robertpanzer merged commit 49a78bf into asciidoctor:asciidoctorj-1.6.0 Nov 23, 2015
@robertpanzer robertpanzer deleted the integration-test branch November 23, 2015 07:57
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.

2 participants