Sha256: 0b30f4b7c62a06384000dfe6aa0444843bf29e11b1ace16fbe1254a1a3b7bc2c
Contents?: true
Size: 470 Bytes
Versions: 8
Compression:
Stored size: 470 Bytes
Contents
require "spec_helper" 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
8 entries across 8 versions & 1 rubygems