forgot context (issue #332)

This commit is contained in:
FireFart
2013-10-22 22:41:26 +02:00
parent 706774bf61
commit 35a75739e6

View File

@@ -80,10 +80,13 @@ describe 'WpPlugins::Detectable' do
subject.send(:from_content, wp_target).should == expected
end
context 'when w3 total cache detected' do
it 'returns the w3-total-cache' do
@body = 'w3 total cache'
expected.add('w3-total-cache')
end
end
context 'when wp-super-cache detected' do
it 'returns the wp-super-cache' do
@body = 'wp-super-cache'