Rubunity/Rubunity — pull request #3 by Spaceghost (2012-09-23 22:31:33+00:00)
Title:  Reorganize spec helpers

I prefer to keep things light in the environment that's required by the object under test. Here's a few of my spec helpers.

`spec/spec_helper.rb` is really light and should be the helper you strive to use over `spec/fat_spec_helper.rb` and you can use `spec/blocking_spec_helper.rb` for slower things like database calls and the like.

There are now three spec helpers that provide different environments and
spec configurations.

* `spec/common_spec_helper.rb`
This contains all the common configuration between the
spec_helpers. It isn't really designed for use in specs themselves
though.

* `spec/spec_helper.rb`
As the typical file for specs, this is actually really light and only
adds to the ruby path, while including the spec/common_spec_helper.rb

* `spec/blocking_spec_helper.rb`
This spec helper contains all the configs and setups for blocking i/o
Also, any third party services might go in here or a
spec/service_spec_helper.rb

* `spec/fat_spec_helper.rb`
The holy cow of environment requiring files, this one pulls in rails
and pretty much everything ever. Typically known as
spec/spec_helper.rb, this file was moved to fat_helper_spec.rb to help
developers cognitively make decisions about whether they really

Signed-off-by: Johnneylee Jack Rollins