Sha256: e6912302200d7cfd2b07895b992c6777b2d3d521289d8fe83442793e614d4cec
Contents?: true
Size: 370 Bytes
Versions: 3
Compression:
Stored size: 370 Bytes
Contents
require 'spec_helper' describe AQL::Node::Operator, '#operator' do let(:class_under_test) do symbol = self.symbol Class.new(described_class) do const_set('SYMBOL', symbol) public :operator end end let(:symbol) { mock('Symbol') } let(:object) { class_under_test.new } subject { object.operator } it { should be(symbol) } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aql-0.0.3 | spec/unit/aql/node/operator/operator_spec.rb |
aql-0.0.2 | spec/unit/aql/node/operator/operator_spec.rb |
aql-0.0.1 | spec/unit/aql/node/operator/operator_spec.rb |