lib/field_test/participant.rb in field_test-0.3.0 vs lib/field_test/participant.rb in field_test-0.3.1
- old
+ new
@@ -29,10 +29,10 @@
participant_id: id
}
end
end
- def self.standardize(participants, options = {})
- Array(options[:participant] || participants).compact.map { |v| FieldTest::Participant.new(v) }
+ def self.standardize(participant)
+ Array(participant).compact.map { |v| FieldTest::Participant.new(v) }
end
end
end