WHAT THE FOR RSPEC
what the is a group of rspec support files I find helpful
Enjoy.
SETUP
GEMFILE
In your Gemfile:
gem 'what_the', '~> 0.0.1'
SPEC_HELPER
In spec/spec_helper.rb:
require 'what_the'
config.include WhatThe::GivenWhenThenHelper, :type => :integration, :example_group => {
:file_path => config.escaped_path(%w[spec integration])
}
config.include WhatThe::BackboneHelper, :type => :controller, :example_group => {
:file_path => config.escaped_path(%w[spec controllers])
}