From 1bb5bc7f33f56cf63b599b38ab260edfede72ae8 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Sun, 3 Jan 2016 21:27:10 +0100 Subject: [PATCH] fix rspec --- spec/lib/common/collections/wp_timthumbs/detectable_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/common/collections/wp_timthumbs/detectable_spec.rb b/spec/lib/common/collections/wp_timthumbs/detectable_spec.rb index 83587e9b..33236431 100644 --- a/spec/lib/common/collections/wp_timthumbs/detectable_spec.rb +++ b/spec/lib/common/collections/wp_timthumbs/detectable_spec.rb @@ -81,7 +81,7 @@ describe 'WpTimthumbs::Detectable' do after do targets = subject.send(:targets_items, wp_target, options) - expect(targets.map { |t| t.url }).to eq @expected.sort.map { |t| t.url } + targets.map { |t| t.url }.should =~ @expected.sort.map { |t| t.url } end context 'when no :theme_name' do