Sha256: 6085875fa09945ec8b0de13e3801807d4e01ecf7f2da1d66d434a0696d381166

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

require 'test/unit'
require 'test/unit/testcase'

class ExampleTest < Test::Unit::TestCase  
  def setup
    1 + 2
  end
  
  def test_a
    assert_equal 1+2, 4
  end
  
  def test_b()
    # assert 1+1
  end
  
  def test_a
    assert_equal 1+2, 3
  end
  
  private 
  def helper_method apples, oranges, cakes=nil
    [apples, oranges, cakes].compact.map{|food| food.to_s.upcase}
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
adamsanderson-sexp_path-0.4.0 test/sample.rb
sexp_path-0.5.2 test/sample.rb
sexp_path-0.5.1 test/sample.rb
sexp_path-0.5.0 test/sample.rb
sexp_path-0.4.0 test/sample.rb