Sha256: d9f851da67ed92b41f5c8472d7b1e9d4cfafeeaf5819da392a0e4a166e881baf
Contents?: true
Size: 331 Bytes
Versions: 5
Compression:
Stored size: 331 Bytes
Contents
Given(/^I have stubbed stdin to contain "(.*?)"$/) do |file| expect(STDIN).to receive(:read).and_return(File.read(file)) end Given(/^I have stubbed stdin to contain nothing$/) do expect(STDIN).to receive(:read).and_return(nil) end Then(/^nothing should be outputted to STDERR$/) do expect(STDERR).to_not receive(:puts) end
Version data entries
5 entries across 5 versions & 3 rubygems