```ruby
Then /^the output should say the file "([^"]*)" was created$/ do |file|
  step %{Then "the output should match /create(.+)#{file}/"}
end

Then /^the file "([^"]*)" should contain a copyright notice for "([^"]*)"$/ do |file, name|
  year = Time.now.year
  step %{Then "the file \"#{file}\" should contain \"Copyright (c) #{year}, #{name}\""}
end

Then /^I should see the generic help output$/ do
  steps %{
    Then "the output should contain \"licgen help [TASK]\""
    Then "the output should contain \"licgen list\""
    Then "the output should contain \"licgen bsd\""
    # TODO: add more conditions when we have more templates
  }
end
```

Use aruba helpers instead of nested steps.
user
```ruby
Then /^the output should say the file "([^"]*)" was created$/ do |file|
  steps %{Then "the output should match /create(.+)#{file}/"}
end

Then /^the file "([^"]*)" should contain a copyright notice for "([^"]*)"$/ do |file, name|
  content = "Copyright (c) #{Time.now.year}, #{name}"
  check_file_content(file, content, true)
end

Then /^I should see the generic help output$/ do
  assert_partial_output("licgen help [TASK]", all_output)
  assert_partial_output("licgen list", all_output)
  assert_partial_output("licgen bsd", all_output)
  assert_partial_output("licgen mit", all_output)
end
```
assistant