Sha256: cbcbcbc21182af472f4f8450e40e3ff1500e9195e233b4529958170e56378ed2

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

require 'spec_helper'

describe AQL::Node::Operation, '#keyword' do
  let(:class_under_test) do
    Class.new(described_class) do
      const_set(:KEYWORD, 'KEYWORD')
      public :keyword
    end
  end

  subject { object.keyword }

  let(:object) { class_under_test.new  }

  it { should eql('KEYWORD') }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aql-0.0.3 spec/unit/aql/node/operation/keyword_spec.rb
aql-0.0.2 spec/unit/aql/node/operation/keyword_spec.rb
aql-0.0.1 spec/unit/aql/node/operation/keyword_spec.rb