Sha256: 280b2bd2c3a9fd0dfc98147ba32212096dc833efe60920b6b9121c41a33a860f
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require 'axiom/adapter/data_objects/statement' describe Adapter::DataObjects::Statement, '.new' do let(:connection) { double } let(:relation) { double } let(:object) { described_class } context 'without a visitor' do subject { object.new(connection, relation) } it { should be_instance_of(described_class) } it { should be_frozen } end context 'with a visitor' do subject { object.new(connection, relation, visitor) } let(:visitor) { double } it { should be_instance_of(described_class) } it { should be_frozen } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-do-adapter-0.2.0 | spec/unit/axiom/adapter/data_objects/statement/class_methods/new_spec.rb |