fix issue #266 - passive detection regex

This commit is contained in:
Christian Mehlmauer
2013-08-17 11:33:25 +02:00
parent 9015834b15
commit 7acea5f4b2
8 changed files with 28 additions and 5 deletions

View File

@@ -151,10 +151,15 @@ shared_examples 'WpItems::Detectable' do
end
context 'when items are present' do
it 'returns the excpected items' do
it 'returns the expected items' do
@fixture = fixtures_dir + '/passive_detection.html'
@expected = expected[:passive_detection]
end
it 'returns the expected items' do
@fixture = fixtures_dir + '/passive_detection_2.html'
@expected = expected[:passive_detection2]
end
end
end