Sha256: 9ccbbcd58adaf932c29d346e909bf63e490519018db4903526b44c8a40a452cb
Contents?: true
Size: 603 Bytes
Versions: 2
Compression:
Stored size: 603 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Axiom::Adapter::Arango::Gateway, '#drop' do subject { object.drop(args) } let(:adapter) { mock('Adapter') } let(:relation) { mock('Relation', :drop => response) } let(:response) { mock('New Relation', :kind_of? => true) } let!(:object) { described_class.new(adapter, relation) } let(:args) { stub } it_should_behave_like 'a unary relation method' it 'forwards the arguments to relation#drop' do relation.should_receive(:drop).with(args) subject end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-arango-adapter-0.0.2 | spec/unit/axiom/adapter/arango/gateway/drop_spec.rb |
axiom-arango-adapter-0.0.1 | spec/unit/axiom/adapter/arango/gateway/drop_spec.rb |