From d099f5aa73a71c9272e2cc3a3aa1be0b19f1d5d8 Mon Sep 17 00:00:00 2001 From: Bonias <“piotr@galdomedia.pl”> Date: Wed, 16 Oct 2013 11:26:51 +0200 Subject: [PATCH] assert_equal should be used here, not assert --- test/functional/lit/sources_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/lit/sources_controller_test.rb b/test/functional/lit/sources_controller_test.rb index c83a2d5f..6e15d878 100644 --- a/test/functional/lit/sources_controller_test.rb +++ b/test/functional/lit/sources_controller_test.rb @@ -44,7 +44,7 @@ class SourcesControllerTest < ActionController::TestCase put :update, :id => @source, :source => { :identifier=>"test2" } assert_redirected_to source_path(assigns(:source)) @source.reload - assert "test2", @source.identifier + assert_equal "test2", @source.identifier end test "should destroy source" do