Adding a stub_locations method to stub_helpers.rb