Files
redistat/spec/collection_spec.rb
Jim Myhrberg 6d04d58d82 Redistat::Finder returns collections with results
within it properly, and all specs passing
2010-11-07 23:37:17 +00:00

13 lines
355 B
Ruby

require "spec_helper"
describe Redistat::Collection do
it "should should initialize properly" do
options = {:from => "from", :till => "till", :depth => "depth"}
result = Redistat::Collection.new(options)
result.from.should == options[:from]
result.till.should == options[:till]
result.depth.should == options[:depth]
end
end