spec/unit/veritas/algebra/projection/methods/remove_spec.rb in veritas-0.0.2 vs spec/unit/veritas/algebra/projection/methods/remove_spec.rb in veritas-0.0.3
- old
+ new
@@ -1,12 +1,12 @@
require 'spec_helper'
-describe 'Veritas::Algebra::Projection::Methods#remove' do
+describe Algebra::Projection::Methods, '#remove' do
subject { object.remove(attributes) }
- let(:klass) { Relation }
- let(:attributes) { [ :id ] }
- let(:object) { klass.new([ [ :id, Integer ], [ :name, String ] ], [ [ 1, 'Dan Kubb' ] ].each) }
+ let(:described_class) { Relation }
+ let(:attributes) { [ :id ] }
+ let(:object) { described_class.new([ [ :id, Integer ], [ :name, String ] ], [ [ 1, 'Dan Kubb' ] ].each) }
it { should be_kind_of(Algebra::Projection) }
its(:header) { should == [ [ :name, String ] ] }