Project

General

Profile

Defect #33183 » test_for_33183.patch

Marius BĂLTEANU, 2020-03-23 18:23

View differences:

test/functional/users_controller_test.rb
454 454
    assert_response 404
455 455
  end
456 456

  
457
  def test_edit_user_with_full_text_formatting_custom_field_should_not_fail
458
    field = UserCustomField.find(4)
459
    field.update_attribute :text_formatting, 'full'
460

  
461
    get :edit, :params => {:id => 2}
462
    assert_response :success
463
  end
464

  
457 465
  def test_update
458 466
    ActionMailer::Base.deliveries.clear
459 467
    put :update, :params => {
    (1-1/1)