Skip to content

Commit

Permalink
change post test to create since action new is a get action
Browse files Browse the repository at this point in the history
  • Loading branch information
cesswairimu committed Jun 7, 2019
1 parent 5bb19c2 commit 11dd71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/maps_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
Expand Down

0 comments on commit 11dd71f

Please sign in to comment.