Update spec syntax for RSpec 3

Checked with spec 3.0.0.beta2 only
treat_symbols_as_metadata_keys_with_true_values need to be removed when
the day comes of rspec 3 stable release.
Merge pull request #22 from futhr/rspec-syntax

Update spec syntax for RSpec 3