Sha256: cfcd6f526655c7bd56eabc55035303fabc9d0f0d9e36a1cd6b268910313159ad
Contents?: true
Size: 475 Bytes
Versions: 15
Compression:
Stored size: 475 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe RevisionHistory do describe "#revisions" do before do @history = Fabricate(:revision_history) end it "should return array" do @history.revisions.class.should == Array end it "should return array even if revision_history is empty" do @history.stub(:revision_uris).and_return(nil) @history.revisions.class.should == Array end end end
Version data entries
15 entries across 15 versions & 1 rubygems