WpTimthumb::Existable specs

This commit is contained in:
erwanlr
2013-03-26 16:46:39 +01:00
parent da1c556896
commit 65ca256a73
4 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
# encoding: UTF-8
require 'spec_helper'
describe WpTimthumb do
it_behaves_like 'WpTimthumb::Existable'
subject(:wp_timthumb) { WpTimthumb.new(uri, options) }
let(:uri) { URI.parse('http://example.com/') }
let(:options) { {} }
end