Lee Machin dadb7eaa23 fix crash caused by incorrect query in scope
setting all categories to be secured led to a blank screen on all pages

use stabby lambda for consistency in class

make the test a little more concise

- move the local assignments into let blocks for
reusability

- remove calls to `to_a`, which aren't needed

- use 'be_empty' instead of '[]' to be consistent
with the other matchers in the test

add a test for the `secured` scope with multiple
secured categories
2013-05-15 22:26:52 +01:00
..
2013-04-30 12:43:59 +10:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-02-26 07:31:35 +03:00
2013-04-08 13:02:20 +10:00
2013-04-07 17:52:46 +02:00
2013-04-22 11:05:54 +10:00
2013-04-08 08:21:54 +10:00
2013-02-05 14:16:51 -05:00