Maybe

```ruby
[:add, :new, :create].each do |alias|
  it "should ensure user has logged in for #{alias}" do
    hooks(@cli_user, alias).should include(:logged_in?)
  end
end

```


The same with checking if there's correct output