ruby on rails - Modding Michael Hartl's railstutorial: Where to place rspec test? -


i playing around michael hartl's railstutorial. want limit access profile pages owner can see his/hers profile. first task write appropriate rspec test, logical location of this: user_pages or authentication_pages?

probably user_pages, though go in authentication. think in situation, you're best write test , keep going. if, later, find sits better in different place, move it.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -