Fixed typo.
This commit is contained in:
parent
f91bf9d304
commit
465d18141e
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ module Organization::Permission
|
||||||
check if user has access to user
|
check if user has access to user
|
||||||
|
|
||||||
user = Organization.find(123)
|
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
|
returns
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ class RecentView < ApplicationModel
|
||||||
# check if object exists
|
# check if object exists
|
||||||
begin
|
begin
|
||||||
return if !Kernel.const_get( object )
|
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
|
return if !record
|
||||||
rescue
|
rescue
|
||||||
return
|
return
|
||||||
|
|
|
@ -146,7 +146,7 @@ class AgentTicketActionLevel1Test < TestCase
|
||||||
:value => 6,
|
:value => 6,
|
||||||
},
|
},
|
||||||
|
|
||||||
# check if megred to ticket is shown now
|
# check if merged to ticket is shown now
|
||||||
{
|
{
|
||||||
:execute => 'match',
|
:execute => 'match',
|
||||||
:css => '.active .page-header .ticket-number',
|
:css => '.active .page-header .ticket-number',
|
||||||
|
|
Loading…
Reference in a new issue