Sha256: 7ab89dbdf061cdec3c361166f8710bf72b59d2a4580119e1ead30b04c724dd5c

Contents?: true

Size: 252 Bytes

Versions: 9

Compression:

Stored size: 252 Bytes

Contents

require 'spec_helper'

describe Zemanta::Fetcher::Web do
  subject { Zemanta::Configuration::NullStorage.new }

  it "returns nil on #[]" do
    subject[:key].should be_nil
  end

  it "responds to #save" do
    subject.should respond_to :[]=
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
zemanta_client-0.0.9 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.8 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.7 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.6 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.5 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.4 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.3 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.2 spec/zemanta/configuration/null_storage_spec.rb
zemanta_client-0.0.1 spec/zemanta/configuration/null_storage_spec.rb