Sha256: 7d20d98e88d01f1eb975990951d2a7feef6fd6b2acc131a9551328cf40ab6407

Contents?: true

Size: 464 Bytes

Versions: 6

Compression:

Stored size: 464 Bytes

Contents

shared_examples "a storage provider" do
  let(:filetype) { Shutterbug::Handlers::FileHandlers::HtmlFile.new}
  let(:filename) { "somefilename.html" }
  let(:provider) { described_class.new(filename,filetype) }

  it "should respond to filename" do
    provider.should respond_to :filename
  end

  it "should respond to url" do
    provider.should respond_to :url
  end

  it "should respond to get_content" do
    provider.should respond_to :get_content
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shutterbug-0.2.5 spec/shared_examples_for_storage.rb
shutterbug-0.2.1 spec/shared_examples_for_storage.rb
shutterbug-0.2.0 spec/shared_examples_for_storage.rb
shutterbug-0.1.2 spec/shared_examples_for_storage.rb
shutterbug-0.1.1 spec/shared_examples_for_storage.rb
shutterbug-0.1.0 spec/shared_examples_for_storage.rb