Displaying 3 results from an estimated 3 matches for "first_us".
Did you mean:
first_bus
2006 Apr 21
2
destory Test Case Messes up all tests
...e user all my other
tests work again.
All the fixtures are suppose be reloaded between tests right?
Here is my testcase :
require File.dirname(__FILE__) + ''/../test_helper''
class UserTest < Test::Unit::TestCase
fixtures :users
def setup
# get grant_speelman user
@first_user = User.find(1)
end
# Test updating of a user
def test_update
assert_equal @grant_speelman.firstname, @first_user.firstname
assert_equal @grant_speelman.surname, @first_user.surname
assert_equal @grant_speelman.email, @first_user.email
@first_user.firstname = "Gavin&qu...
2011 Jul 22
9
Active Record Issue (I think)
...o far, but
something doesn''t seem to be working right.
I have two basic models so far, "User" and "Micropost".
class User < ActiveRecord::Base
has_many :microposts
end
class Micropost < ActiveRecord::Base
belongs_to :user
end
If I do something like:
"first_user = User.first"
Then:
"first_user.microposts" - should return a hash of the first user''s
microposts, but it just returns empty.
I''m sure there is data.
If I do "Micropost.first" it returns what I should see with
"first_user.microposts". If I do...
2012 Nov 09
1
doveadm quota get -A via doveadm-proxy director with LDAP
...ecot 2.1.10
I want configure dovecot to do execute doveadm commands on the proxy server.
We have 1 proxy with director and 2 mail servers. we use LDAP
when I try to do doveadm quota get -u user it works fine.
The problem is when I try to do doveadm quota get -A ON PROXY
I have this result:
doveadm(first_user): Error: Proxy is missing destination host
doveadm: Error: Failed to iterate through some users
Username Quota name Type Value Limit %
in 10-auth.conf I have "!include auth-ld...