'Using -r with a spider with no rule should not produce items.'

@defer.inlineCallbacks
def test_spider_with_no_rules_attribute(self):

    (status, out, stderr) = (yield self.execute(['--spider', self.spider_name, '-r', self.url('/html')]))
    self.assertRegexpMatches(to_native_str(out), '#    Scraped    Items        -+\n\\[\\]')
    self.assertIn('No    CrawlSpider    rules    found', to_native_str(stderr))
