Sha256: 597154e09527f7e82b5591ec64d9fc109e407a46bce33cdf30ce490d31011ccd

Contents?: true

Size: 773 Bytes

Versions: 1

Compression:

Stored size: 773 Bytes

Contents

require 'cases/sqlserver_helper'

class ValidationsTestSqlserver < ActiveRecord::TestCase
end

class ValidationsTest < ActiveRecord::TestCase
  
  COERCED_TESTS = [:test_validate_uniqueness_with_limit_and_utf8]
  
  include SqlserverCoercedTest
  
  # Because SQL Server converts UTF8 data to some other data type, there is no such thing as a 
  # one to byte length check. See this article for details:
  # http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=362867
  # 
  # Had the idea of doing this, but could not since the above was true.
  # Event.connection.change_column :events, :title, :nvarchar, :limit => 5
  # Event.reset_column_information
  def test_coerced_test_validate_uniqueness_with_limit_and_utf8
    assert true
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-sqlserver-adapter-2.3 test/cases/validations_test_sqlserver.rb