spec/unit/veritas/sql/generator/relation/visited_spec.rb in veritas-sql-generator-0.0.3 vs spec/unit/veritas/sql/generator/relation/visited_spec.rb in veritas-sql-generator-0.0.4

- old
+ new

@@ -8,10 +8,10 @@ let(:id) { Attribute::Integer.new(:id) } let(:name) { Attribute::String.new(:name) } let(:age) { Attribute::Integer.new(:age, :required => false) } let(:header) { [ id, name, age ] } let(:body) { [ [ 1, 'Dan Kubb', 35 ] ].each } - let(:base_relation) { BaseRelation.new('users', header, body) } + let(:base_relation) { Relation::Base.new('users', header, body) } let(:object) { described_class.new } context 'when name is nil' do it_should_behave_like 'an idempotent method'