Fixed typo.

This commit is contained in:
Martin Edenhofer 2015-01-01 00:40:17 +01:00
parent f91bf9d304
commit 465d18141e
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ module Organization::Permission
check if user has access to user
user = Organization.find(123)
result = Organization.permission( :type => 'rw', :current_user => User.find(123) )
result = organization.permission( :type => 'rw', :current_user => User.find(123) )
returns

View file

@ -90,7 +90,7 @@ class RecentView < ApplicationModel
# check if object exists
begin
return if !Kernel.const_get( object )
record = Kernel.const_get( object ).where( :id => o_id ).first
record = Kernel.const_get( object ).lookup( :id => o_id )
return if !record
rescue
return

View file

@ -146,7 +146,7 @@ class AgentTicketActionLevel1Test < TestCase
:value => 6,
},
# check if megred to ticket is shown now
# check if merged to ticket is shown now
{
:execute => 'match',
:css => '.active .page-header .ticket-number',