diff --git a/test/functional/maps_controller_test.rb b/test/functional/maps_controller_test.rb index 5b1b6ca07..a26156c76 100644 --- a/test/functional/maps_controller_test.rb +++ b/test/functional/maps_controller_test.rb @@ -148,7 +148,7 @@ def teardown skip 'images and warpable naming contradicts with rails naming convention' session[:user_id] = 1 before_count = Map.count - post(:new, map: { + post(:create, map: { name: 'Coal terminal map', slug: 'coal-terminal' })