Method: AuthenticatedTestHelper#assert_requires_login

Defined in:
lib/community_engine/authenticated_test_helper.rb

#assert_requires_login(login = nil) {|HttpLoginProxy.new(self, login)| ... } ⇒ Object

Assert the block redirects to the login

(:bob) { |c| c.get :edit, :id => 1 }

Yields:



7
8
9
# File 'lib/community_engine/authenticated_test_helper.rb', line 7

def ( = nil)
  yield HttpLoginProxy.new(self, )
end