WpItem::Findable#Found_From= specs

This commit is contained in:
erwanlr
2013-03-25 13:53:36 +01:00
parent 6f49584546
commit 2ee2fe494d
3 changed files with 26 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ require 'spec_helper'
describe WpItem do
it_behaves_like 'WpItem::Existable'
it_behaves_like 'WpItem::Findable#Found_From='
subject(:wp_item) { WpItem.new(uri, options) }
let(:uri) { URI.parse('http://example.com') }