floehopper (owner)

Revisions

gist: 220411 Download_button fork
public
Public Clone URL: git://gist.github.com/220411.git
Embed All Files: show embed
karl.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'test/unit'
require 'mocha'
 
class MyTest < Test::Unit::TestCase
  
  def test_me
    DateTime.stubs(:now).returns(DateTime.parse("2010-01-01T10:00:00"))
    index = 0
    100.times { index += 1 }
    assert_equal 100, index
  end
  
end