Sha256: 91dadc7f1b7819e222841a295ae7b5c63b5a360dbb553e4f1b4b2e62764882fb

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

scope do
  let(:three) { 3 }
  spec "variables and lets" do
    one = 2
    two = 2

    @one_plus_two_plus_three = one + two + three
    @res = 3

    @one_plus_two_plus_three.to_i == @res
  end

  spec "again?" do
    @arr = %w[a b c d e]

    @arr.pop == "k"
  end

  spec "not natural" do
    one = 2
    two = 2

    @one_plus_two_plus_three = one + two + three
    @res = 3

    @res = @one_plus_two_plus_three.to_i + @res.to_i
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
matest-1.3.0 spec/matest_specs/printing_assertion_spec.rb