PostgreSQL unit test failure


#1

PostgreSQL 8.1, Win32, Ruby 1.8.2 for Win32 native.
Rails 1.0 gems.
Starting on line 784 of the ‘base_test.rb’ file for ActiveRecord
1.13.2 is “test_default”
When I run the unit tests for ActiveRecord against Postgres,
everything passes except for this test. It looks like modified_time
returns a default of ‘nil’, rather than Time.now, as it should.
Is this a known issue? I tried searching the fault tracker, but didn’t
find anything.

Using native PostgreSQL
Loaded suite base_test
Started
…E…

Finished in 1.875 seconds.

  1. Error:
    test_default(BasicsTest):
    NoMethodError: undefined method strftime' for nil:NilClass base_test.rb:790:intest_default’

103 tests, 256 assertions, 0 failures, 1 errors

Thanks,
–Wilson.