Files
discourse/app/models
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-05-08 15:20:38 +10:00
2013-04-02 18:00:53 -04:00
2013-03-01 21:16:36 +03:00
2013-04-08 13:02:20 +10:00
2013-05-01 10:52:31 +10:00
2013-03-01 21:16:36 +03:00
2013-04-05 17:47:54 +11:00