Sha256: 2d1118a83c14b1589766294b6ccb907ba10b5ada8e391f429292ea9efe1cd74c

Contents?: true

Size: 529 Bytes

Versions: 42

Compression:

Stored size: 529 Bytes

Contents

require 'cases/sqlserver_helper'
require 'models/developer'

class BasicsTestSqlserver < ActiveRecord::TestCase
end

class BasicsTest < ActiveRecord::TestCase
  
  COERCED_TESTS = [:test_read_attributes_before_type_cast_on_datetime]
  
  include SqlserverCoercedTest
  
  fixtures :developers
  
  def test_coerced_test_read_attributes_before_type_cast_on_datetime
    developer = Developer.find(:first)
    assert_equal developer.created_at.to_s(:db)+'.000' , developer.attributes_before_type_cast["created_at"]
  end
  
  
end

Version data entries

42 entries across 42 versions & 7 rubygems

Version Path
rails-sqlserver-2000-2005-adapter-2.2.4 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.5 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.6 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.7 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.8 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.9 test/cases/basics_test_sqlserver.rb
rainux-2000-2005-adapter-2.2.15 test/cases/basics_test_sqlserver.rb
rainux-rails-sqlserver-2000-2005-2008-adapter-2.2.15 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.8 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.7 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.6 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.5 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.4 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.3 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.2 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3.1 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.3 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.2.22 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.2.21 test/cases/basics_test_sqlserver.rb
activerecord-sqlserver-adapter-2.2.20 test/cases/basics_test_sqlserver.rb