Rspec configuration for Rails to be placed within config/application.rb.
Taken from Everyday Rails Testing with RSpec, along with accompanying explanation below:

• fixtures: true specifies to generate a fixture for each model (using a Factory Girl factory, instead of an actual fixture)

• view_specs: false says to skip generating view specs. Request specs are used instead to test interface elements.

• helper_specs: false skips generating specs for the helper files Rails generates with each controller. As your comfort level with RSpec improves, consider changing this option to true and testing these files.

• routing_specs: false omits a spec file for your config/routes.rb file. As your application grows, however, and takes on more complex routing, it’s a good idea to incorporate routing specs.

• And finally, g.fixture_replacement :factory_girl tells Rails to generate factories instead of fixtures, and to save them in the spec/factories directory.