Update CRC dataset model and Add tests
Hi @anusha. Please take a look at this merge request. Main points are below:
- Specs from
crc_dataset_spec.rball pass (57 examples). - I copied the factory for
crc_dataset.rbfromrdms/dataset.rb. I don't think most of this is required for the current testing, but I copied it over anyway. - I copied the spec for
crc_dataset_spec.rbfromrdms/dataset_spec.rb. Then added new tests from line 451. You may wish to see the test forcomplex_subjectin particular (line 466).
Thanks
Sagar
Edited by Sagar Pandya