Discussion Forums
- Topic List
- Most Recent Posts
- Sign In for more options
I dont know why it cant execute my rake test.
D:\ruby\tiesto>rake test/unit/kantor_test.rb --trace (in D:/ruby/tiesto) ** Invoke test/unit/kantor_test.rb (first_time, not_needed)
In my test/unit/kantor_test.rb
require File.dirname(FILE) + '/../test_helper'
class KantorTest < Test::Unit::TestCase fixtures :kantors
# Replace this with your real tests. def test_pertamax
valid_kantor = Kantor.new(:barang=>"pulpen", :jumlah => 2)
asser_equal 'pulpen 2', valid_kantor.gabungan
#assert true
end end
Please helpe me.
Thank you. Reinhart
I did make assert_equal but the same thing happened. no changes:
D:\ruby\tiesto>rake test/unit/kantor_test.rb --trace (in D:/ruby/tiesto) ** Invoke test/unit/kantor_test.rb (first_time, not_needed)
Please help me what happen..
ah, sorry, just spotted the problem
try ruby test/unit/kantor_test.rb
(not rake)
