Sha256: a45d348ce29aee55625a32bfdac98738f4aa7c24b1b9ca13f8cd90ffbdb92d77

Contents?: true

Size: 315 Bytes

Versions: 17

Compression:

Stored size: 315 Bytes

Contents

require 'spec_helper'

describe Searchlogic::CoreExt::Object do
  it "should accept and pass the argument to the searchlogic_options" do
    proc = searchlogic_lambda(:integer, :test => :value) {}
    proc.searchlogic_options[:type].should == :integer
    proc.searchlogic_options[:test].should == :value
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
searchlogic-2.5.19 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.18 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.17 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.16 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.15 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.14 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.13 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.12 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.11 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.10 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.9 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.8 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.7 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.6 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.5 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.4 spec/searchlogic/core_ext/object_spec.rb
searchlogic-2.5.3 spec/searchlogic/core_ext/object_spec.rb