1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-08 23:34:51 +00:00

Created integration test for poolbracket matchups

This commit is contained in:
2015-03-27 12:52:35 +00:00
parent 819d735480
commit 4b6b20c912
5 changed files with 94 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ class Matchup
hash
end
def convert_to_obj(h)
def convert_to_obj(h)
h.each do |k,v|
self.class.send(:attr_accessor, k)
instance_variable_set("@#{k}", v)