Sha256: c617b53fd828d40ae2f19d45f21bd3a8613603be47835d0336e99bf3e7c1e099
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
class SimpleTest < OpalTest::TestCase def test_this_should_be_tested :pass.should eq(:pass) end def test_should_also_pass 1.should == 1 end def test_simple_assertion assert true assert 42 lambda { assert nil }.should raise_error(Exception) lambda { assert false }.should raise_error(Exception) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
opal-spec-0.2.15 | spec/tests_spec.rb |
opal-spec-0.2.14 | spec/tests_spec.rb |