Sha256: c45aa9e6d604691a1958b17f49e0d62e3701bb4900b8961d82440476928946e9
Contents?: true
Size: 443 Bytes
Versions: 42
Compression:
Stored size: 443 Bytes
Contents
#!/usr/bin/env rspec require 'spec_helper' module MCollective class Aggregate module Result describe CollectionResult do describe "#to_s" do it "should return the correctly formatted string" do result = CollectionResult.new({:output => [:test], :value => {"foo" => 3, "bar" => 2}}, "%s:%s", :action).to_s result.should == "foo:3\nbar:2" end end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems