spec/spec_helper.rb in genomer-plugin-view-0.0.3 vs spec/spec_helper.rb in genomer-plugin-view-0.0.4

- old
+ new

@@ -27,6 +27,13 @@ end def cds(opts = Hash.new) gene({:feature => 'CDS'}.merge(opts)) end + + class Bio::GFF::GFF3::Record + def has_identical_attributes?(other) + self.attributes.sort == other.attributes.sort + end + end + end