Sha256: 0b13a1bdeb51f1a90c4115ab245f5342316639f1851e6aba0960a24a228b30a0
Contents?: true
Size: 458 Bytes
Versions: 11
Compression:
Stored size: 458 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper') describe "Configuration" do it "should handle the 'path' property when not set" do config = Sunspot::Rails::Configuration.new config.path.should == '/solr' end it "should handle the 'path' property when set" do silence_stderr do Rails.stub!(:env => 'path_test') config = Sunspot::Rails::Configuration.new config.path.should == '/solr/path_test' end end end
Version data entries
11 entries across 11 versions & 6 rubygems