Fix resource_spec.rb: it's only_if and not_if

These are trivial fixes, but nonetheless...