MBO/attrtastic — pull request #15 by jmazzi (2011-11-09 22:22:56+00:00)
Title: Fix tests and add default_options support for attributes

Tests now run under 1.9.2, 1.9.3, and 1.8.7. There were a couple of dependency issues with shoulda and test unit that were also fixed.

`Attrtastic.default_options` is a hash to get/set default options for displaying attributes. For example, to display_empty attributes by default for all fields, use the following code:

```ruby
Attrtastic.default_options[:display_empty] = true
```

There's also a Attrtastic.reset_default_config which sets default_options to an empty hash. This is mostly useful in tests.