Fix puppetlabs_spec_helper warning on Ruby 1.8
Fix puppetlabs_spec_helper warning on Ruby 1.8

Ruby 1.8 doesn't have the #source_location method. So instead parse the
filename out of the string representation from Proc.

gds-operations/puppet-syntax,gds-operations/puppet-syntax