Sha256: fdd3793b40dcca3d555b64cc9cc7cd3e3bfab18b3199db87790087135040f54a

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")

describe "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

5 entries across 5 versions & 2 rubygems

Version Path
aq1018-searchlogic-2.4.17 spec/core_ext/object_spec.rb
aq1018-searchlogic-2.4.16 spec/core_ext/object_spec.rb
aq1018-searchlogic-2.4.15 spec/core_ext/object_spec.rb
searchlogic-2.4.14 spec/core_ext/object_spec.rb
searchlogic-2.4.13 spec/core_ext/object_spec.rb