mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-10 17:41:31 +00:00
Fix a test failure (#13688).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17851 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4c38f46184
commit
8cf95006bf
@ -407,7 +407,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
def test_thumbnail_should_round_size
|
||||
Redmine::Thumbnail.expects(:generate).with {|source, target, size| size == 250}
|
||||
Redmine::Thumbnail.expects(:generate).with {|source, target, size| size == 300}
|
||||
|
||||
@request.session[:user_id] = 2
|
||||
get :thumbnail, :params => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user