Sha256: 5c553531f7a7c75c53fc74ed66f41c9606ca94db752ea52bebb1d35a63bfc7e8

Contents?: true

Size: 397 Bytes

Versions: 57

Compression:

Stored size: 397 Bytes

Contents

require 'cases/sqlserver_helper'
require 'models/company'

class CalculationsTestSqlserver < ActiveRecord::TestCase
end

class CalculationsTest < ActiveRecord::TestCase
  
  COERCED_TESTS = [:test_should_sum_expression]
  
  include SqlserverCoercedTest
  
  fixtures :accounts
  
  def test_coerced_test_should_sum_expression
    assert_equal 636, Account.sum("2 * credit_limit")
  end
  
  
end

Version data entries

57 entries across 57 versions & 7 rubygems

Version Path
aq1018-2000-2008-adapter-0.0.1 test/cases/calculations_test_sqlserver.rb
aq1018-sqlserver-2000-2008-adpater-0.0.2 test/cases/calculations_test_sqlserver.rb
artpop-2000-2005-adapter-2.2.15 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-1.0.0 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-1.0.1 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.0 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.1 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.10 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.11 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.12 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.13 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.14 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.15 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.16 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.17 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.18 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.19 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.2 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.21 test/cases/calculations_test_sqlserver.rb
rails-sqlserver-2000-2005-adapter-2.2.3 test/cases/calculations_test_sqlserver.rb