Linux_Kerio has quit [Quit: Konversation terminated!]
Linux_Kerio has joined #ruby
_ht has quit [Remote host closed the connection]
_ht has joined #ruby
dannyAAM has quit [Ping timeout: 240 seconds]
dannyAAM has joined #ruby
brokkoli_origin has quit [Quit: (Leaving)]
brokkoli_origin has joined #ruby
gr33n7007h is now known as sp00ky_gr33n7007
devmes__ has quit [Ping timeout: 260 seconds]
devmes__ has joined #ruby
devmes__ has quit [Ping timeout: 260 seconds]
dannyAAM has quit [Ping timeout: 252 seconds]
dannyAAM has joined #ruby
razetime has joined #ruby
devmes__ has joined #ruby
Linux_Kerio has quit [Ping timeout: 240 seconds]
razetime has quit [Quit: Go back to your cringe 9 to 5. I'll be gaming.]
brokkoli_origin has quit [Ping timeout: 255 seconds]
dannyAAM has quit [Ping timeout: 255 seconds]
brokkoli_origin has joined #ruby
dannyAAM has joined #ruby
dannyAAM has quit [Ping timeout: 245 seconds]
dannyAAM has joined #ruby
alphacentauri has quit [Quit: WeeChat 4.1.0]
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
dannyAAM has quit [Ping timeout: 255 seconds]
reset has quit [Ping timeout: 255 seconds]
dannyAAM has joined #ruby
caedmon has joined #ruby
reset has joined #ruby
alphacentauri has joined #ruby
caedmon has quit [Ping timeout: 260 seconds]
dannyAAM has quit [Ping timeout: 248 seconds]
dannyAAM has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
Linux_Kerio has joined #ruby
dannyAAM has quit [Ping timeout: 240 seconds]
paris has joined #ruby
alphacentauri has quit [Quit: WeeChat 4.1.0]
dannyAAM has joined #ruby
dannyAAM has quit [Ping timeout: 260 seconds]
dannyAAM has joined #ruby
paris has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
jess-o-lantern has quit []
dhruvasagar has quit [Ping timeout: 260 seconds]
dannyAAM has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
dannyAAM has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 258 seconds]
dannyAAM has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
paris has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dannyAAM has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
dannyAAM has quit [Ping timeout: 272 seconds]
<cornfeedhobo>
is there a way to load up a rspec double with a method?
<cornfeedhobo>
I already set a receive().and_return(nil), but my test always triggers the `rescue` in the code path, even though that double should be returning nil and not raising anything
dannyAAM has joined #ruby
dannyAAM has quit [Ping timeout: 248 seconds]
Pixi has quit [Quit: Leaving]
dannyAAM has joined #ruby
Pixi has joined #ruby
dannyAAM has quit [Ping timeout: 255 seconds]
___nick___ has quit [Ping timeout: 240 seconds]
dannyAAM has joined #ruby
dhruvasagar has joined #ruby
dannyAAM has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
_ht has quit [Ping timeout: 255 seconds]
_ht has joined #ruby
_ht has quit [Client Quit]
dhruvasagar has joined #ruby
Mindiell has left #ruby [#ruby]
dhruvasagar has quit [Ping timeout: 260 seconds]
schne1der has joined #ruby
paris has quit [Ping timeout: 240 seconds]
dannyAAM has joined #ruby
dhruvasagar has joined #ruby
<weaksauce>
cornfeedhobo a gist of what you are trying would go a long way
dhruvasagar has quit [Ping timeout: 272 seconds]
fercell_ has joined #ruby
fercell has quit [Ping timeout: 246 seconds]
dannyAAM has quit [Ping timeout: 264 seconds]
paris has joined #ruby
dannyAAM has joined #ruby
dhruvasagar has joined #ruby
dannyAAM has quit [Ping timeout: 272 seconds]
paris has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 258 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
infinityfye has quit [Read error: Connection reset by peer]
schne1der has quit [Quit: schne1der]
dannyAAM has joined #ruby
Linux_Kerio has quit [Ping timeout: 255 seconds]
<cornfeedhobo>
are block variables references or copies?
<cornfeedhobo>
weaksauce: i couldn't find a good way to boil it down, but i got further. thanks :)
dannyAAM has quit [Ping timeout: 240 seconds]
<weaksauce>
cornfeedhobo should be reference generally
<cornfeedhobo>
thanks
Starfoxxes has quit [Ping timeout: 264 seconds]
<weaksauce>
cornfeedhobo that said there's nothing in the nature of blocks that force it that way as you could dup the object and pass that into the block
dannyAAM has joined #ruby
<weaksauce>
so it depends
<cornfeedhobo>
to be safe i decided to use each_with_index and instead update the object directly. however, that doesn't seem to play well yet
<weaksauce>
but like built in each for most things would be a reference
<weaksauce>
if you have some specific code you want a second set of eyes on you can share a gist
dannyAAM has quit [Ping timeout: 240 seconds]
<cornfeedhobo>
weaksauce: it's a vagrant plugin and would be a lot to gist up
<cornfeedhobo>
however, this change isn't bubbling back up to the rspec mock/test
<cornfeedhobo>
note, there are errors in the current code i've linked to you, which is how i've arrived here, so it should not be read as my _exact_ issue. but it's very close