diff --git a/gem-development.md b/gem-development.md index 08c26f2..76450dd 100644 --- a/gem-development.md +++ b/gem-development.md @@ -394,17 +394,8 @@ Feature: Generating things ``` It's important to note that the word after "delicious" both times is "steak", which is *very* delicious. It's also the last argument we pass in to the command that we run, and therefore should be a dynamic variable in our template. We'll see how to do this soon. - -When we run this feature we'll be told that there's an undefined step and a failing scenario; we'll look at the undefined step first. Aruba currently doesn't have a step itself defined for multi-line file content matching, so we will define one ourselves inside _features/step\_definitions/aruba\_ext\_steps.rb_ using Aruba's own helpers: - - -```cucumber -Then /^the file "([^"]*)" should contain:$/ do |file, content| - check_file_content(file, content, true) -end -``` -Now for our failure. It's saying that it cannot find the _dinner/steak.txt_ file that we asked the generator to do. Why not? +Now when we run the feature we're told that it cannot find the _dinner/steak.txt_ file that we asked the generator to do. Why not? ## Writing a generator