File: example2.rb

package info (click to toggle)
ruby-zentest 4.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 536 kB
  • sloc: ruby: 3,210; makefile: 13
file content (15 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module TestSomething
  class TestThingy
    def test_do_something_normal
      thingy = Thingy.new
      result = thingy.do_something
      assert(result.blahblah)
    end
    def test_do_something_edgecase
      thingy = Thingy.new
      result = thingy.do_something
      assert(result.blahblah)
    end
  end
end