Fixed warning related to file-type inference in rspec to make it easier to upgrade to rspec 3.
Upgrade to rspec 3.1.
Replaced :should syntax with :expect syntax in rspec tests.