Sha256: 54d77a23d199488be018ea1ba05ede31a0051c5eb62ee7784882388e16d795e5

Contents?: true

Size: 472 Bytes

Versions: 11

Compression:

Stored size: 472 Bytes

Contents

shared_examples "a storage provider" do
  let(:filename) { "somefilename.html" }

  describe "class" do
    it "should respond to get_url(name)" do
      described_class.should respond_to :get_url
    end
  end

  describe "instance" do
    let(:instance) { described_class.new(filename) }

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shutterbug-0.5.9 spec/shared_examples_for_storage.rb
shutterbug-0.5.8 spec/shared_examples_for_storage.rb
shutterbug-0.5.7 spec/shared_examples_for_storage.rb
shutterbug-0.5.6 spec/shared_examples_for_storage.rb
shutterbug-0.5.5 spec/shared_examples_for_storage.rb
shutterbug-0.5.4 spec/shared_examples_for_storage.rb
shutterbug-0.5.3 spec/shared_examples_for_storage.rb
shutterbug-0.5.2 spec/shared_examples_for_storage.rb
shutterbug-0.5.1 spec/shared_examples_for_storage.rb
shutterbug-0.5.0 spec/shared_examples_for_storage.rb
shutterbug-0.4.3 spec/shared_examples_for_storage.rb