diff --git a/spec/features/contacts_spec.rb b/spec/features/contacts_spec.rb index 3752214c..3a53d8cc 100644 --- a/spec/features/contacts_spec.rb +++ b/spec/features/contacts_spec.rb @@ -4,7 +4,7 @@ it 'should show a generic contact when contact is not from restroom form' do restroom = create(:restroom, name: "Mission Creek Cafe") - visit restroom_path restroom + visit restroom_path(:id => restroom.id) click_link 'Contact' expect(page).to_not have_content('Mission Creek Cafe')