Ultimate rspec matcher to test named_scope or scoped - Web development blog

Updated . Posted . Visible to the public.

What do we expect from the custom finder? We expect that it should find assets A, B, C and should not find assets D, E, F. And sometimes the order is important: it should find A, B C with exact order.

Last edit
Keywords
ruby, rails, rspec, testing
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2010-07-12 10:14)