Remove deprecation warning in spec test
Merge pull request #8 from dtaniwaki/remove-deprecation-warning

Remove deprecation warning in spec test