Fix deprecation warnings with RSpec 2.14
Merge pull request #156 from yozlet/fix_rspec_deprecations

Fix deprecation warnings with RSpec 2.14