Sha256: c937dd21f99033a425077ec8ded4cb72ae703417136d69af1117f11da7fd5f11

Contents?: true

Size: 593 Bytes

Versions: 18

Compression:

Stored size: 593 Bytes

Contents

require_relative 'dsl/applied_filter_query_spec'
require_relative 'dsl/literal_methods_spec'

module CloudSesame
  module Query
    describe Builder do

      it_behaves_like DSL::AppliedFilterQuery do
        subject { Builder.new({}, "Searchable") }
      end

      it_behaves_like DSL::LiteralMethods do
        subject { Builder.new({}, "Searchable") }
        before {
          Builder.send(:include, DSL::LiteralMethods)
          Domain::Block.send(:include, DSL::LiteralMethods)
          allow(_scope).to receive(:context).and_return(context)
        }
      end

    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
CloudSesame-1.0.1 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-1.0.0 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.9.4 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.9.3 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.9.2 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.9.1 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.9.0 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.8.3 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.8.2 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.8.1 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.8.0 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.7.13 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.7.12 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.7.11 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.7.10 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.7.9 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.7.8 spec/cloud_sesame/query/builder_spec.rb
CloudSesame-0.7.7 spec/cloud_sesame/query/builder_spec.rb