Skip to content

Commit

Permalink
Coerce test_should_sum_expression(CalculationsTest) to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Nov 12, 2008
1 parent a9e37b5 commit c5baff7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/cases/calculations_test_sqlserver.rb
@@ -0,0 +1,20 @@
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

0 comments on commit c5baff7

Please sign in to comment.