Sha256: 3827df811b7f8b698aeefba2e89f357c8090fb83d55a7fefe064a27aae221561

Contents?: true

Size: 357 Bytes

Versions: 9

Compression:

Stored size: 357 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "Dynamoid::Adapter" do
  
  it 'extends itself automatically' do
    lambda {Dynamoid::Adapter.list_tables}.should_not raise_error
  end
  
  it 'raises nomethod if we try a method that is not on the child' do
    lambda {Dynamoid::Adapter.foobar}.should raise_error
  end

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dynamoid-0.1.1 spec/dynamoid/adapter_spec.rb
dynamoid-0.1.0 spec/dynamoid/adapter_spec.rb
dynamoid-0.0.7 spec/dynamoid/adapter_spec.rb
dynamoid-0.0.6 spec/dynamoid/adapter_spec.rb
dynamoid-0.0.5 spec/dynamoid/adapter_spec.rb
dynamoid-0.0.4 spec/dynamoid/adapter_spec.rb
dynamoid-0.0.3 spec/dynamoid/adapter_spec.rb
dynamoid-0.0.2 spec/dynamoid/adapter_spec.rb
Dynamoid-0.0.1 spec/dynamoid/adapter_spec.rb