Commit fd897b28 authored by jplang's avatar jplang

Removed that quote in a fixture subject.

git-svn-id: https://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent abe07796
......@@ -4,7 +4,7 @@ issues_001:
project_id: 1
updated_on: <%= 1.day.ago.to_s(:db) %>
priority_id: 4
subject: Can't print recipes
subject: Cannot print recipes
id: 1
fixed_version_id:
category_id: 1
......
......@@ -51,7 +51,7 @@ class ActivitiesControllerTest < ActionController::TestCase
assert_not_nil assigns(:events_by_day)
assert_select 'h3', :text => /#{3.days.ago.to_date.day}/
assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/
assert_select 'dl dt.issue a', :text => /Cannot print recipes/
end
def test_global_index
......@@ -81,7 +81,7 @@ class ActivitiesControllerTest < ActionController::TestCase
d1 = User.find(1).time_to_date(i1.created_on)
assert_select 'h3', :text => /#{d1.day}/
assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/
assert_select 'dl dt.issue a', :text => /Cannot print recipes/
end
def test_user_index_with_invalid_user_id_should_respond_404
......
......@@ -60,7 +60,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_nil assigns(:project)
# links to visible issues
assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', :text => /Subproject issue/
# private projects hidden
assert_select 'a[href="/issues/6"]', 0
......@@ -96,7 +96,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'index'
assert_not_nil assigns(:issues)
assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', 0
end
......@@ -107,7 +107,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'index'
assert_not_nil assigns(:issues)
assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', :text => /Subproject issue/
assert_select 'a[href="/issues/6"]', 0
end
......@@ -120,7 +120,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'index'
assert_not_nil assigns(:issues)
assert_select 'a[href="/issues/1"]', :text => /#{ESCAPED_UCANT} print recipes/
assert_select 'a[href="/issues/1"]', :text => /Cannot print recipes/
assert_select 'a[href="/issues/5"]', :text => /Subproject issue/
assert_select 'a[href="/issues/6"]', :text => /Issue of a private subproject/
end
......@@ -900,7 +900,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_select 'textarea[name=?]', 'issue[notes]'
end
end
assert_select 'title', :text => "Bug #1: #{ESCAPED_UCANT} print recipes - eCookbook - Redmine"
assert_select 'title', :text => "Bug #1: Cannot print recipes - eCookbook - Redmine"
end
def test_show_by_manager
......@@ -2363,7 +2363,7 @@ class IssuesControllerTest < ActionController::TestCase
:notes => 'just trying'}
end
issue = Issue.find(1)
assert_equal "Can't print recipes", issue.subject
assert_equal "Cannot print recipes", issue.subject
assert_nil issue.assigned_to
end
......
......@@ -945,7 +945,7 @@ RAW
result2 = link_to('#1',
"/issues/1",
:class => Issue.find(1).css_classes,
:title => "Can't print recipes (New)")
:title => "Cannot print recipes (New)")
expected = <<-EXPECTED
<p>#{result1}</p>
......
......@@ -215,9 +215,9 @@ class IssuesHelperTest < ActionView::TestCase
detail = JournalDetail.new(:property => 'relation',
:prop_key => 'precedes',
:value => 1)
assert_equal "Precedes Bug #1: Can't print recipes added", show_detail(detail, true)
assert_equal "Precedes Bug #1: Cannot print recipes added", show_detail(detail, true)
str = link_to("Bug #1", "/issues/1", :class => Issue.find(1).css_classes)
assert_equal "<strong>Precedes</strong> <i>#{str}: #{ESCAPED_UCANT} print recipes</i> added",
assert_equal "<strong>Precedes</strong> <i>#{str}: Cannot print recipes</i> added",
show_detail(detail, false)
end
......@@ -245,11 +245,11 @@ class IssuesHelperTest < ActionView::TestCase
detail = JournalDetail.new(:property => 'relation',
:prop_key => 'precedes',
:old_value => 1)
assert_equal "Precedes deleted (Bug #1: Can't print recipes)", show_detail(detail, true)
assert_equal "Precedes deleted (Bug #1: Cannot print recipes)", show_detail(detail, true)
str = link_to("Bug #1",
"/issues/1",
:class => Issue.find(1).css_classes)
assert_equal "<strong>Precedes</strong> deleted (<i>#{str}: #{ESCAPED_UCANT} print recipes</i>)",
assert_equal "<strong>Precedes</strong> deleted (<i>#{str}: Cannot print recipes</i>)",
show_detail(detail, false)
end
......
......@@ -445,7 +445,7 @@ class IssueTest < ActiveSupport::TestCase
assert !issue.save
issue.reload
assert_equal "Can't print recipes", issue.subject
assert_equal "Cannot print recipes", issue.subject
end
def test_should_not_recreate_custom_values_objects_on_update
......
......@@ -56,7 +56,7 @@ class MailerTest < ActiveSupport::TestCase
# link to a referenced ticket
assert_select 'a[href=?][title=?]',
'https://mydomain.foo/issues/1',
"#{ESCAPED_UCANT} print recipes (New)",
"Cannot print recipes (New)",
:text => '#1'
# link to a changeset
assert_select 'a[href=?][title=?]',
......@@ -95,7 +95,7 @@ class MailerTest < ActiveSupport::TestCase
# link to a referenced ticket
assert_select 'a[href=?][title=?]',
'http://mydomain.foo/rdm/issues/1',
"#{ESCAPED_UCANT} print recipes (New)",
"Cannot print recipes (New)",
:text => '#1'
# link to a changeset
assert_select 'a[href=?][title=?]',
......@@ -145,7 +145,7 @@ class MailerTest < ActiveSupport::TestCase
# link to a referenced ticket
assert_select 'a[href=?][title=?]',
'http://mydomain.foo/rdm/issues/1',
"#{ESCAPED_UCANT} print recipes (New)",
"Cannot print recipes (New)",
:text => '#1'
# link to a changeset
assert_select 'a[href=?][title=?]',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment