Closed wilsonge closed 8 years ago
I am not merging until you ping me and tell me that everything tests out all right.
Even better, can you write a Unit Test? :)
OK it tests out ok (I haven't done anything too detailed - just ensured that using CSV Fields with a mixture of relation based fields and fields from the view).
I'll try and write a unit test. But for the CSV output I think it's going to be a nightmare trying to mock this all up - especially because it's all in the display method so I'm going to have to mock up things like the headers being set I guess (and so far we only have unit tests for the raw output - so it's not like there's anything to work with). But I'll see how things go.
OK, I'm merging this PR. When you get to the unit test just file a new PR :)
I need to test the modifications I made work before you merge this :P