From 35a75739e63b2a6e18111723ac2c4b7c71a9f56b Mon Sep 17 00:00:00 2001 From: FireFart Date: Tue, 22 Oct 2013 22:41:26 +0200 Subject: [PATCH] forgot context (issue #332) --- spec/lib/common/collections/wp_plugins/detectable_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/lib/common/collections/wp_plugins/detectable_spec.rb b/spec/lib/common/collections/wp_plugins/detectable_spec.rb index 99f6da38..bbc5fecf 100644 --- a/spec/lib/common/collections/wp_plugins/detectable_spec.rb +++ b/spec/lib/common/collections/wp_plugins/detectable_spec.rb @@ -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'