Hi, I am new to rspec. I am trying to write a spec for a simple ruby program i.e
class First def test a = gets.chomp return a end end I have tried in different ways test method is called from the spec file. but gets.chomp is not executing… Please kindly advise me, how to write spec for this. Thanks Gokul
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users