Sha256: 24b7fdb2607a7ba113705cfc874a325276a8adc981a2031ae488465cbb70f964
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
require File.join(File.dirname(__FILE__), %w[.. spec_helper]) require 'yaml' describe Groupie::Group do it "can be serialized and loaded through YAML" do group = Groupie::Group.new 'group' group.add %w[buy flowers] loaded_group = YAML.load(group.to_yaml) loaded_group.add %w[buy candy] loaded_group.count("candy").should == 1 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
groupie-0.2.2 | spec/groupie/group_spec.rb |
groupie-0.1.1 | spec/groupie/group_spec.rb |