Created
April 6, 2011 17:38
-
-
Save ignacy/906109 to your computer and use it in GitHub Desktop.
Test java code with jruby
This file contains hidden or 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
| import org.example.Person | |
| class PersonTests < Test::Unit::TestCase | |
| def setup | |
| @person = Person.new("Jan", "Kowalski") | |
| end | |
| def test_person_getter_although_we_shouldnt | |
| assert_match /Kowalski/, @person.getSurname | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment