File: example2.rb

package info (click to toggle)
ruby-zentest 4.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 472 kB
  • ctags: 411
  • sloc: ruby: 3,209; 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