Sha256: 096ecbfb4e55577595c61aed40abde2f804b72be2c2abc0e47b36158f9710ca4
Contents?: true
Size: 447 Bytes
Versions: 3
Compression:
Stored size: 447 Bytes
Contents
scope do let(:three) { 3 } xspec "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 xspec "again?" do @arr = %w[a b c d e] @arr.pop == "k" end xspec "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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
matest-1.4.0 | spec/matest_specs/printing_assertion_spec.rb |
matest-1.3.2 | spec/matest_specs/printing_assertion_spec.rb |
matest-1.3.1 | spec/matest_specs/printing_assertion_spec.rb |