Ambiguous match, found 2 elements matching link "ADD" (Capybara::Ambiguous)
./features/step_definitions/click_steps.rb:7:in `/^I click link '(.*?)'$/'
features/choose.feature:6:in `Given I create a Tree'
1 scenario (1 passed)
23 steps (23 passed)
Unable to find checkbox "lof_is_inside_opener" (Capybara::ElementNotFound)
./features/step_definitions/create_steps.rb:29:in `block in then_new'
./features/step_definitions/create_steps.rb:23:in `each'
./features/step_definitions/create_steps.rb:23:in `then_new'
./features/step_definitions/create_steps.rb:15:in `then_new_inside'
./features/step_definitions/create_steps.rb:6:in `then_create_a_tree'
./features/step_definitions/create_steps.rb:2:in `/^I create a Tree/'
features/choose.feature:6:in `Given I create a Tree'
rails g migration add_is_inside_opener_to_lof is_inside_opener:boolean:index
invokeactive_record
createdb/migrate/20140409195156_add_is_inside_opener_to_lof.rb
[dave@localhost LIKORFLIK]$ rails g migration add_is_outside_opener_to_lof is_outside_opener:boolean:index
invokeactive_record
createdb/migrate/20140409195235_add_is_outside_opener_to_lof.rb
[dave@localhost LIKORFLIK]$ rails g migration add_closer_is_inside_to_lof closer_is_inside:boolean:index
invokeactive_record
createdb/migrate/20140409195316_add_closer_is_inside_to_lof.rb
[dave@localhost LIKORFLIK]$ rails g migration add_closer_is_outside_to_lof closer_is_outside:boolean:index
invokeactive_record
createdb/migrate/20140409195329_add_closer_is_outside_to_lof.rb
[dave@localhost LIKORFLIK]$ vim app/helpers/lofs_helper.rb
[dave@localhost LIKORFLIK]$ vim app/views/lofs/_form_connection.html.erb
[dave@localhost LIKORFLIK]$ cucumber features/choose.feature
...
pre, post, inside, outside lofs
rails g migration add_is_inside_closer_to_lof is_inside_closer:boolean:index
invokeactive_record
createdb/migrate/20140409221616_add_is_inside_closer_to_lof.rb
[dave@localhost LIKORFLIK]$ rails g migration add_is_outside_closer_to_lof is_outside_closer:boolean:index
invokeactive_record
createdb/migrate/20140409221634_add_is_outside_closer_to_lof.rb
[dave@localhost LIKORFLIK]$ grep -r "closer_is" app
app/models/extensions/lof_outside.rb:post_lofs.where(closer_is_outside: true)
app/views/lofs/_form_connection.html.erb:<%= f.label :closer_is_inside, "CLOSER IS INSIDE" %>
app/views/lofs/_form_connection.html.erb:<%= f.check_box :closer_is_inside %>
app/views/lofs/_form_connection.html.erb:<%= f.label :closer_is_outside, "CLOSER IS OUTSIDE" %>
app/views/lofs/_form_connection.html.erb:<%= f.check_box :closer_is_outside %>
app/helpers/lofs_helper.rb::closer_is_inside,
app/helpers/lofs_helper.rb::closer_is_outside,
new is_in|outside_closer replaces closer_is_in|outside
undefined method `then_to' for #<Cucumber::Rails::World:0x000000082e5c40> (NoMethodError)
./features/step_definitions/create_steps.rb:40:in `then_edit'
./features/step_definitions/create_steps.rb:57:in `then_open'
./features/step_definitions/create_steps.rb:11:in `then_create_a_tree'
./features/step_definitions/create_steps.rb:2:in `/^I create a Tree/'
features/choose.feature:6:in `Given I create a Tree'
expected to find text "content|Middle"
./features/step_definitions/create_steps.rb:13:in `then_create_a_tree'
expected to find text "content|Inside" in
./features/step_definitions/create_steps.rb:28:in `then_create_a_tree'
./features/step_definitions/create_steps.rb:2:in `/^I create a Tree/'
features/choose.feature:6:in `Given I create a Tree'
need searching on layouts links
touched up linking between openers and closers
no-fog uploads on image on dev or test
pass: Feature: Choose (Adventure)

  Background: User, Start, Doors, Finish

    Given I signup Dave
    Given I create a Tree

  Scenario: check tree

    Then to 'First'
    Then I see 'inside_post_lofs| Second'
    Then I see 'content|First'
    Then I see 'content|Second'
    Then I see link 'Last'
    Then I see link 'Outside'
    Then to 'Second'
    Then I see 'pre_lof|First inside_pre_lofs| First'
    Then I see 'content|Second'
    Then I see 'post_lof|Outside outside_post_lofs| Last Outside'
    Then I see link 'Last'
    Then I see link 'Outside'
    Then to 'Last'
    Then I see 'pre_lof|Second outside_pre_lofs| Inside Second'
    Then I see 'content|Last'
    Then to 'Outside'
    Then I see 'outside_pre_lofs| Second'
    Then I see 'post_lof|Inside inside_post_lofs| Inside'
    Then I see 'content|Outside'
    Then I see 'content|Inside'
    Then I see link 'Last'
passing: Feature: Choose (Adventure) @send @check

  Background: User, Start, Doors, Finish

    Given I signup Dave
    Given I create a Tree

  @send
  Scenario: send tree

    Then I send 'First' to 'Jason'
    #Then I click link 'Last'
    #Then I click link 'Outside'
    Then show

  @check
  Scenario: check tree

    Then to 'First'
    Then I see 'inside_post_lofs| Second'
    Then I see 'content|First'
    Then I see 'content|Second'
    Then I see link 'Last'
    Then I see link 'Outside'
    Then to 'Second'
    Then I see 'pre_lof|First inside_pre_lofs| First'
    Then I see 'content|Second'
    Then I see 'post_lof|Outside outside_post_lofs| Last Outside'
    Then I see link 'Last'
    Then I see link 'Outside'
    Then to 'Last'
    Then I see 'pre_lof|Second outside_pre_lofs| Inside Second'
    Then I see 'content|Last'
    Then to 'Outside'
    Then I see 'outside_pre_lofs| Second'
    Then I see 'post_lof|Inside inside_post_lofs| Inside'
    Then I see 'content|Outside'
    Then I see 'content|Inside'
    Then I see link 'Last'
undefined method `logged_in?' for #<#<Class:0x007f1be0bfee08>:0x007f1be0bfcc70> (ActionView::Template::Error)
./app/views/lofs/_menu.html.erb:2:in `_app_views_lofs__menu_html_erb__4335225538728638794_69878856594280'
You cannot use helpers that need to determine the current page unless your view context provides a Request object in a #request method (ActionView::Template::Error)
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_view/helpers/url_helper.rb:524:in `current_page?'
./app/views/lofs/_menu_action_mailer.html.erb:3:in `_app_views_lofs__menu_action_mailer_html_erb__291037338345151175_69878856885740'
No route matches {} (ActionView::Template::Error)
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/journey/formatter.rb:39:in `generate'
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:601:in `generate'
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:631:in `generate'
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:667:in `url_for'
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/routing/url_for.rb:155:in `url_for'
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_view/routing_url_for.rb:83:in `url_for'
/home/dave/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_view/helpers/url_helper.rb:180:in `link_to'
./app/views/lofs/_menu_action_mailer.html.erb:10:in `_app_views_lofs__menu_action_mailer_html_erb__291037338345151175_69878856748360'
passing: Feature: Choose (Adventure) @send

  Background: User, Start, Doors, Finish

    Given I signup Dave
    Given I create a Tree

  @send
  Scenario: send tree

    Then I send 'First' to 'Jason'
    Then I see 'content|First'
    Then I see 'content|Second'
    Then I see link 'Last'
    Then I see link 'Outside'
    Then I click link 'Last'
    #Then I click link 'Outside'
    Then show

  @check
  Scenario: check tree

    Then to 'First'
    Then I see 'inside_post_lofs| Second'
    Then I see 'content|First'
    Then I see 'content|Second'
    Then I see link 'Last'
    Then I see link 'Outside'
    Then to 'Second'
    Then I see 'pre_lof|First inside_pre_lofs| First'
    Then I see 'content|Second'
    Then I see 'post_lof|Outside outside_post_lofs| Last Outside'
    Then I see link 'Last'
    Then I see link 'Outside'
    Then to 'Last'
    Then I see 'pre_lof|Second outside_pre_lofs| Inside Second'
    Then I see 'content|Last'
    Then to 'Outside'
    Then I see 'outside_pre_lofs| Second'
    Then I see 'post_lof|Inside inside_post_lofs| Inside'
    Then I see 'content|Outside'
    Then I see 'content|Inside'
    Then I see link 'Last'