Created
July 18, 2012 16:04
-
-
Save rcdilorenzo/3137155 to your computer and use it in GitHub Desktop.
Ruby Test Unit to Rspec Helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def assert_equal(a, b) | |
puts "#{a}.should == #{b}" | |
end | |
def assert_not_nil(a) | |
puts "#{a}.should_not == nil" | |
end | |
def assert_raise(*all_args) | |
puts "Cannot convert assert_raise" | |
end | |
def assert(*all_args) | |
puts "Cannot convert assert()" | |
end | |
def assert_not_equal(a, b) | |
puts "#{a}.should_not == #{b}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment