Sha256: 3ddda3ca0c07efeecb1e829f5d1e41819a73add0de6d305bc97c7efbf4534a99
Contents?: true
Size: 504 Bytes
Versions: 12
Compression:
Stored size: 504 Bytes
Contents
describe "All these tests will pass" do it "some simple expectations" do 1.should == 1 2.should == 2 [1, 2, 3].should == [1, 2, 3] [].should == [] "foo".should == "foo" end it "some simple negative expectations" do 1.should_not == 2 3.should_not == 1 [1, 2, 3].should_not == [1, 2, 3, 4] [].should_not == [1] "foo".should_not == "bar" end it "should raise exceptions" do lambda { raise "foo" }.should raise_error(Exception) end end
Version data entries
12 entries across 12 versions & 1 rubygems