Closed sergio-fry closed 5 days ago
let should define variable accessible from 'it'
BDDSM.describe "Some" do let(:a) { 1 } it { expect(a).to eq 1 } end
Also let var should be accessible from another let
BDDSM.describe "Some" do let(:one) { 1 } let(:two) { one + one } it { expect(two).to eq 2 } end
let should define variable accessible from 'it'
Also let var should be accessible from another let