Sha256: cf8f2d6cd8ac71e887182a8f45c0a772e68c25e7b99799b102cd0560a9858c93
Contents?: true
Size: 756 Bytes
Versions: 1
Compression:
Stored size: 756 Bytes
Contents
require 'union_find' require 'pry' # to use binding.pry RSpec.configure do |config| # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # --seed 1234 config.order = 'random' # when a focus tag is present in RSpec, only run tests with focus tag: http://railscasts.com/episodes/285-spork config.filter_run focus: true config.run_all_when_everything_filtered = true end def create_family_tree(union_find) union_find.union('Grandfather', 'Father') union_find.union('Grandfather', 'Mother') union_find.union('Mother', 'Son') union_find.union('Father', 'Daughter') union_find end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
union_find-0.0.1 | spec/spec_helper.rb |