personally I would rather see:
```ruby
let(:elements) { %w{1 2 3} }
it "returns the last element pushed into the stack" do
 elements.each do { |e| stack.push(e) }
 expect(stack.pop).to eq elements.last   
end
```