Pretty sure. I've been executing via Rubymine largely, but to double check I did a rake test from a terminal:
Loaded suite /home/lsimons/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.........................
Finished in 0.352315069 seconds.
25 tests, 24 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed
Looks like all of the unit tests pass. If I put something obviously wrong (ex: assert(false) at the end of the test in question), I get:
Loaded suite /home/lsimons/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
...........F.............
1) Failure:
test: ReservationLine should save if the resource is not in use during the reservation period. (ReservationLineTest) [test/unit/reservation_line_test.rb:16]:
<false> is not true.
Finished in 0.189861266 seconds.
25 tests, 25 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed
Is there a better way to make sure it's executed properly? I've been doing TDD (hit my first inter-model dependency and wanted some mocks) and it's seemed like test/unit has been behaving.
Thanks,
Louis