summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/time_entries_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-21 12:39:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-21 12:39:48 +0000
commit2a6692248b8976141997c4418561bb0800baf2da (patch)
tree68c7fe2afb20e1daa1790cdc3e61a06a53768ba9 /test/integration/api_test/time_entries_test.rb
parente2998505b2403a70c233cf96fac8432e950bf47d (diff)
downloadredmine-2a6692248b8976141997c4418561bb0800baf2da.tar.gz
redmine-2a6692248b8976141997c4418561bb0800baf2da.zip
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test/time_entries_test.rb')
-rw-r--r--test/integration/api_test/time_entries_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/api_test/time_entries_test.rb b/test/integration/api_test/time_entries_test.rb
index b118ed72f..492ecad0b 100644
--- a/test/integration/api_test/time_entries_test.rb
+++ b/test/integration/api_test/time_entries_test.rb
@@ -102,7 +102,7 @@ class Redmine::ApiTest::TimeEntriesTest < Redmine::ApiTest::Base
assert_response :unprocessable_entity
assert_equal 'application/xml', @response.content_type
- assert_select 'errors error', :text => "Hours can't be blank"
+ assert_select 'errors error', :text => "Hours cannot be blank"
end
test "PUT /time_entries/:id.xml with valid parameters should update time entry" do
@@ -121,7 +121,7 @@ class Redmine::ApiTest::TimeEntriesTest < Redmine::ApiTest::Base
assert_response :unprocessable_entity
assert_equal 'application/xml', @response.content_type
- assert_select 'errors error', :text => "Hours can't be blank"
+ assert_select 'errors error', :text => "Hours cannot be blank"
end
test "DELETE /time_entries/:id.xml should destroy time entry" do