Sha256: 8062091380070e7970fe52c388fa64816903e74052acb1b0ccfd217ba73edeaa
Contents?: true
Size: 530 Bytes
Versions: 14
Compression:
Stored size: 530 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe 'Reference Domain Matcher' do it 'checks if a site references a given list of domains' do domains = [ 'example.org', ] use_proxy 'localhost:3128' visit('http://example.org') expect(page).to reference_domains domains end it 'checks if a site not references a given list of domains' do domains = [ 'asdf', ] use_proxy 'localhost:3128' visit('http://example.org') expect(page).not_to reference_domains domains end end
Version data entries
14 entries across 14 versions & 1 rubygems