WpTimthumb::Versionable specs
This commit is contained in:
@@ -4,9 +4,10 @@ require 'spec_helper'
|
||||
|
||||
describe WpTimthumb do
|
||||
it_behaves_like 'WpTimthumb::Existable'
|
||||
it_behaves_like 'WpTimthumb::Versionable'
|
||||
|
||||
subject(:wp_timthumb) { WpTimthumb.new(uri, options) }
|
||||
let(:uri) { URI.parse('http://example.com/') }
|
||||
let(:options) { {} }
|
||||
let(:options) { { path: 'path-to/a/timtuhumb.php' } }
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user