WpItem::Existable specs

This commit is contained in:
erwanlr
2013-03-22 21:53:20 +01:00
parent e058b204f4
commit 6f49584546
4 changed files with 101 additions and 4 deletions

View File

@@ -3,6 +3,8 @@
require 'spec_helper'
describe WpItem do
it_behaves_like 'WpItem::Existable'
subject(:wp_item) { WpItem.new(uri, options) }
let(:uri) { URI.parse('http://example.com') }
let(:options) { {} }