summaryrefslogtreecommitdiffstats
path: root/test/functional/calendars_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-04-27 15:06:17 +0000
committerGo MAEDA <maeda@farend.jp>2019-04-27 15:06:17 +0000
commit904e77e8a0f36ae2730b4c3c5b722de7d6d4c019 (patch)
tree669079a6f344f7b7e7ecb320f201568d8a901fbf /test/functional/calendars_controller_test.rb
parent367d8f4d04e4e544ab248af78fa285465071d39f (diff)
downloadredmine-904e77e8a0f36ae2730b4c3c5b722de7d6d4c019.tar.gz
redmine-904e77e8a0f36ae2730b4c3c5b722de7d6d4c019.zip
CalendarsControllerTest#test_show fails depending on the date (#31131).
Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18088 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/calendars_controller_test.rb')
-rw-r--r--test/functional/calendars_controller_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb
index 69e0053ad..2652d7f49 100644
--- a/test/functional/calendars_controller_test.rb
+++ b/test/functional/calendars_controller_test.rb
@@ -36,6 +36,10 @@ class CalendarsControllerTest < Redmine::ControllerTest
:users, :email_addresses
def test_show
+ # Ensure that an issue to which a user is assigned is in the current
+ # month's calendar in order to test Gravatar
+ travel_to issues(:issues_002).start_date
+
with_settings :gravatar_enabled => '1' do
get :show, :params => {
:project_id => 1