Displaying 2 results from an estimated 2 matches for "data_storer".
2007 Feb 20
6
How to spec code with multiple (interacting) paths
...step'' is true" do
setup do
@logger = mock("logger"); @logger.stub!(:log)
@emailer = mock("emailer"); @emailer.stub!(:send_email)
@db_updater = mock("db_updater"); @db_updater.stub!
(:update_db)
@data_storer = DataStorer.new(@logger, @emailer,
@db_updater, true)
end
specify "should log the data given when asked to store" do
@logger.should_receive(:log).with("I was told to store ''moo''")
@data_storer.store("moo")
en...
2007 Jan 21
4
could not install in WinXP
Directory of C:\search_app
01/21/2007 19:37 <DIR> .
01/21/2007 19:37 <DIR> ..
01/21/2007 19:36 427 008 ferret-0.10.13.gem
01/21/2007 19:07 148 992 rdig-0.3.4.gem
2 File(s) 576 000 bytes
2 Dir(s) 45 135 982 592 bytes free
C:\search_app>gem install ferret
Building native extensions. This could