summaryrefslogtreecommitdiffstats
path: root/test/functional/news_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/news_controller_test.rb')
-rw-r--r--test/functional/news_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/news_controller_test.rb b/test/functional/news_controller_test.rb
index 8dfa9cf42..377f10552 100644
--- a/test/functional/news_controller_test.rb
+++ b/test/functional/news_controller_test.rb
@@ -129,7 +129,7 @@ class NewsControllerTest < ActionController::TestCase
assert_template 'new'
assert_not_nil assigns(:news)
assert assigns(:news).new_record?
- assert_select_error /title #{ESCAPED_CANT} be blank/i
+ assert_select_error /title cannot be blank/i
end
def test_get_edit
@@ -166,7 +166,7 @@ class NewsControllerTest < ActionController::TestCase
put :update, :id => 1, :news => { :description => '' }
assert_response :success
assert_template 'edit'
- assert_select_error /description #{ESCAPED_CANT} be blank/i
+ assert_select_error /description cannot be blank/i
end
def test_destroy