'If a rule matches the URL, use it\'s defined callback.'

@defer.inlineCallbacks
def test_crawlspider_matching_rule_callback_set(self):

    (status, out, stderr) = (yield self.execute(['--spider', ('goodcrawl' + self.spider_name), '-r', self.url('/html')]))
    self.assertIn("[{},    {'foo':    'bar'}]", to_native_str(out))
