How to use https://github.com/aisaac-lab/ptera/blob/master/spec/ptera_spec.rb#L8 Installation Add this line to your application's Gemfile: gem 'ptera' And then execute: $ bundle install Or install it yourself as: $ gem install ptera How to run rspec bundle exec rspec