fix rspecs

This commit is contained in:
Christian Mehlmauer
2013-12-07 22:37:07 +01:00
parent fffcd61cc4
commit 1e1fdee5a7
3 changed files with 15 additions and 0 deletions

View File

@@ -3,6 +3,8 @@
require 'spec_helper'
describe WpThemes do
before { stub_request(:get, /.+\/style.css$/).to_return(status: 200) }
it_behaves_like 'WpItems::Detectable' do
subject(:wp_themes) { WpThemes }
let(:item_class) { WpTheme }