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
aq1018-2000-2008-adapter-0.0.1 test/cases/basics_test_sqlserver.rb
aq1018-sqlserver-2000-2008-adpater-0.0.2 test/cases/basics_test_sqlserver.rb
artpop-2000-2005-adapter-2.2.15 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-1.0.0 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-1.0.1 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.0 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.1 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.10 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.11 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.12 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.13 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.14 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.15 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.16 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.17 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.18 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.19 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.2 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.21 test/cases/basics_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.3 test/cases/basics_test_sqlserver.rb