The_Camel has quit [Read error: Connection reset by peer]
The_Camel has joined #ruby
TomyWork has joined #ruby
polishdub has quit [Remote host closed the connection]
infinityfye has joined #ruby
kjetilho has quit [Ping timeout: 252 seconds]
Sampersand has quit [Quit: Client closed]
polishdub has joined #ruby
polishdub has quit [Client Quit]
polishdub has joined #ruby
LainIwakura has joined #ruby
hwpplayer1 has quit [Quit: I'll be bach]
oznek has joined #ruby
LainIwakura has quit [Ping timeout: 272 seconds]
PuercoPop has joined #ruby
cappy has joined #ruby
sir_oj has joined #ruby
Sampersand has joined #ruby
kjetilho has joined #ruby
tsv has quit [Quit: WeeChat 3.8]
tsv has joined #ruby
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
jmcantrell_ has joined #ruby
<PuercoPop>
I've started using minitest after years of rspec, is the custom/practice to use methods to replace the 'let' functionality of spec?
<adam12>
PuercoPop: Yes.
<adam12>
PuercoPop: I often prefix with `build_` or `fetch_`, because I like my tests to be super verbose with the Arrange-Act-Assert pattern.
<adam12>
so I might `user = build_user` as part of Arrange, then do something with `user` in Act (`user.activate!`), and than in Assert, add my assertions. `assert user.activated?, "Expected user to be activated but wasn't"`.
<adam12>
Rarely do I use instance variables since they are mystery guests IMHO.
<PuercoPop>
My reasoning for avoiding instance variables anywhere outside initializers is because typos don't result in eager failures
LainIwakura has joined #ruby
<adam12>
PuercoPop: That's a good reason too!
LainIwakura has quit [Quit: Client closed]
<Sampersand>
i could see that PuercoPop!
<Sampersand>
I like instance variables because `#@foo` is my friend in strings, and `defined? @foo` i use occasionally
jmcantrell_ has quit [Ping timeout: 240 seconds]
Sampersand has quit [Quit: Client closed]
Sampersand has joined #ruby
cappy has quit [Quit: Leaving]
Sampersand has quit [Quit: Client closed]
Sampersand has joined #ruby
Sampersand42 has joined #ruby
Sampersand has quit [Quit: Client closed]
Sampersand42 has quit [Client Quit]
Sampersand has joined #ruby
Sampersand has quit [Quit: Client closed]
Sampersand has joined #ruby
livoreno has joined #ruby
sir_oj has quit [Read error: Connection reset by peer]
Sampersand has quit [Quit: Client closed]
Sampersand has joined #ruby
___nick___ has quit [Ping timeout: 245 seconds]
oznek has quit [Quit: Leaving]
Sampersand has quit [Quit: Client closed]
jmcantrell_ has joined #ruby
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
victori has joined #ruby
R2robot has joined #ruby
livoreno has quit [Quit: Connection closed for inactivity]
user71 has quit [Quit: Leaving]
infinityfye has quit [Read error: Connection reset by peer]
jmcantrell_ has quit [Ping timeout: 240 seconds]
o0x1eef has quit [Read error: Connection reset by peer]
o0x1eef has joined #ruby
schne1der has quit [Ping timeout: 276 seconds]
TomyWork has quit [Remote host closed the connection]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
The_Camel_ has joined #ruby
The_Camel has quit [Ping timeout: 240 seconds]
The_Camel_ has quit [Remote host closed the connection]
The_Camel_ has joined #ruby
user71 has joined #ruby
The_Camel_ has quit [Remote host closed the connection]
The_Camel has joined #ruby
pastelowl has joined #ruby
rvalue has quit [Read error: Connection reset by peer]