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

Version Path
opal-spec-0.1.15 example/bar.rb
opal-spec-0.1.14 example/bar.rb
opal-spec-0.1.13 example/bar.rb
opal-spec-0.1.12 example/bar.rb
opal-spec-0.1.11 example/bar.rb
opal-spec-0.1.10 example/bar.rb
opal-spec-0.1.9 example/bar.rb
opal-spec-0.1.8 example/bar.rb
opal-spec-0.1.7 example/bar.rb
opal-spec-0.1.6 example/bar.rb
opal-spec-0.1.5 example/bar.rb
opal-spec-0.1.1 example/bar.rb