Sha256: 4098e841f509ede8d5415d23430b4e94d63bd6bc7cf87f196171e9d5a6c4e3c7

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redistat-0.0.4 spec/collection_spec.rb
redistat-0.0.3 spec/collection_spec.rb
redistat-0.0.2 spec/collection_spec.rb
redistat-0.0.1 spec/collection_spec.rb