Wins Lin
2013-Jun-18 16:09 UTC
Rails 3 in action book: some files are not generated as written in the book
I''m reading "Rails 3 in action", chapter 3, p. 56. It is said that the Cucumber skeleton generator> rails generate cucumber:installhas to also generate the definition for the first step of the Scenario "Given I am on the homepage" in the file "features/step_definitions/web_steps.rb" # file: features/step_definitions/web_steps.rb Given /^(?:|I )am on (.+)$/ do |page_name| visit path_to(page_name) end But it doesn''t. Also it doesn''t generate module NavigationHelpers along with the "features/support/paths.rb" file. Why does it happen? Is it just a deprecated behavior and now cucumber doesn''t generate those files? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/70f1a02dc092bc03e0c4219409adfa3f%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder
2013-Jun-18 16:23 UTC
Re: Rails 3 in action book: some files are not generated as written in the book
On Tue, Jun 18, 2013 at 9:09 AM, Wins Lin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Why does it happen? Is it just a deprecated behavior and now cucumber > doesn''t generate those files?Yes. http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDSNPQ4f-w_kNahy5u9EiZ78im3D-7QMs6bg9fNEuUubA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.