Fix resource_spec.rb

These are trivial fixes, but nonetheless...