Hi
Thanks for your suggestion! I had not tried the fixture.make option, and now this works like a charm.
I have one question though.
So this is my code :
- findAll : "GET /travel_deals"
- var store = can.fixture.make(5, function(i) {return { "destination" : "Crowne Plaza Alice Springs - Hotel "+i,"rating" : "****", "bonus" : "4th Night Free","fare":"$1,955","validFrom" :"2011-10-01","validTo":"2011-12-01","id": i};});can.fixture('GET /travel_deals', store.findAll);
This works fine.
However, I was first trying with the url as "GET /travel_deals.json", and can.fixture('GET /travel_deals.json', store.findAll);
This was'nt working and the reason was the ".json" extension in both places. Do you know why this was a problem?