From e596dc6f048bda572b372d7d1d20d679fe245071 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Fri, 26 Aug 2016 14:33:19 -0500 Subject: [PATCH] fix an errored test --- test/integration/location_stories_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/location_stories_test.rb b/test/integration/location_stories_test.rb index d19fad9b..637998d8 100644 --- a/test/integration/location_stories_test.rb +++ b/test/integration/location_stories_test.rb @@ -2,7 +2,7 @@ require 'test_helper' # Tests scenarios related to interacting with Locations class LocationStoriesTest < ActionDispatch::IntegrationTest - + setup do @user = log_in_as_user @location = create(:location, user: @user) @@ -18,7 +18,7 @@ class LocationStoriesTest < ActionDispatch::IntegrationTest test 'location list edit button edits location' do visit location_path(@location) click_on 'Edit this location' - assert_equal edit_path(@location), current_path + assert_equal edit_location_path(@location), current_path end test 'location list view button shows location' do