fix DEPRECATION warning from RSpec.
Merge pull request #93 from tadd/fix_rspec_deprecation_warning

fix DEPRECATION warning from RSpec.