Fixed browser tests.
This commit is contained in:
parent
261c9e3214
commit
604f4c918e
2 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ curl http://localhost/api/v1/users.json -v -u #{login}:#{password}
|
||||||
end
|
end
|
||||||
users_all = []
|
users_all = []
|
||||||
users.each {|user|
|
users.each {|user|
|
||||||
users_all.push User.find( user.id )
|
users_all.push User.find( user.id ).attributes_with_associations
|
||||||
}
|
}
|
||||||
render :json => users_all, :status => :ok
|
render :json => users_all, :status => :ok
|
||||||
end
|
end
|
||||||
|
|
|
@ -76,11 +76,11 @@ class ManageTest < TestCase
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
:execute => 'click',
|
:execute => 'click',
|
||||||
:css => 'a[data-type="edit"]:last-child',
|
:css => '.table-overview tr:last-child td',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
:execute => 'wait',
|
:execute => 'wait',
|
||||||
:value => 1,
|
:value => 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
:execute => 'set',
|
:execute => 'set',
|
||||||
|
@ -146,7 +146,7 @@ class ManageTest < TestCase
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
:execute => 'click',
|
:execute => 'click',
|
||||||
:css => 'a[data-type="edit"]:last-child',
|
:css => '.table-overview tr:last-child td',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
:execute => 'wait',
|
:execute => 'wait',
|
||||||
|
|
Loading…
Reference in a new issue