WpTimthumb::Existable specs
This commit is contained in:
12
spec/lib/common/models/wp_timthumb_spec.rb
Normal file
12
spec/lib/common/models/wp_timthumb_spec.rb
Normal 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
|
||||
Reference in New Issue
Block a user