aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTeddy Wing2017-06-09 11:31:35 +0200
committerTeddy Wing2017-06-09 11:31:35 +0200
commit5d3cab81d61e5fb809a07f0e5fdaf00aa2f3210a (patch)
treeca46cbc44fc5a3a0e55d6a9b8301da923f0e58e4 /app
parent9dab28fef1ac66b02a1ef62fdfb86cfc5ff13b96 (diff)
downloadchouette-core-5d3cab81d61e5fb809a07f0e5fdaf00aa2f3210a.tar.bz2
TableBuilder spec: Correct expected column header hrefs
Use the correct workbench ID in the expected links for column sorting. Previously I had copied this from rendered HTML on my local dev server. We should actually use the ID of the factory-generated workbench object. Now this part of our tests passes, correctly matching the URLs. Needed to copy over the `q` params that are created by the `WorkbenchesController` in order for this to actually work with the right query string parameters tacked on to the hrefs. Makes the test a bit more complicated, but more closely matches the real page's behaviour. Hrm, I wonder if we should get rid of that param entirely and modify the expected hrefs to removed them since that doesn't really appear to be related to what we're actually testing. I'll consider it. Refs #3479
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions