@@ -51,7 +51,7 class ActivitiesControllerTest < ActionController::TestCase | |||
|
51 | 51 | assert_not_nil assigns(:events_by_day) |
|
52 | 52 | |
|
53 | 53 | assert_select 'h3', :text => /#{3.days.ago.to_date.day}/ |
|
54 |
assert_select 'dl dt.issue a', :text => / |
|
|
54 | assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/ | |
|
55 | 55 | end |
|
56 | 56 | |
|
57 | 57 | def test_global_index |
@@ -81,7 +81,7 class ActivitiesControllerTest < ActionController::TestCase | |||
|
81 | 81 | d1 = User.find(1).time_to_date(i1.created_on) |
|
82 | 82 | |
|
83 | 83 | assert_select 'h3', :text => /#{d1.day}/ |
|
84 |
assert_select 'dl dt.issue a', :text => / |
|
|
84 | assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/ | |
|
85 | 85 | end |
|
86 | 86 | |
|
87 | 87 | def test_user_index_with_invalid_user_id_should_respond_404 |
General Comments 0
You need to be logged in to leave comments.
Login now