fix rspec

This commit is contained in:
Christian Mehlmauer
2016-01-03 21:27:10 +01:00
parent 3be5e1fcf5
commit 1bb5bc7f33

View File

@@ -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