From 737df1c5304210658d659975b274283dd91e484c Mon Sep 17 00:00:00 2001 From: Monalisa Chatterjee Date: Tue, 8 May 2018 15:21:29 -0700 Subject: [PATCH] fixed typo --- test/controllers/movies_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/movies_controller_test.rb b/test/controllers/movies_controller_test.rb index f379cf383..d62e20ab3 100644 --- a/test/controllers/movies_controller_test.rb +++ b/test/controllers/movies_controller_test.rb @@ -71,7 +71,7 @@ it "Creates a new movie" do proc{ - post movies_path, params:{movie: movie_data} + post movies_path, params: movie_data }.must_change 'Movie.count',1 must_respond_with :success