akshaybhalotia / RubyEx2

Resume Writer with different file formats, duly tested
0 stars 0 forks source link

Testing constants and the overriding mechanism #3

Open jerryjohnjacob opened 8 years ago

jerryjohnjacob commented 8 years ago

Looking at this line, I could see that what you're ultimately testing is the assignment of a constant. Not really much benefit of doing that.

Also, the individual file generators are overriding this constant. Probably better to go with a method for that instead then. Constants are probably not the best candidates for this kind of a use case.

akshaybhalotia commented 8 years ago

Oops! Bad design. Corrected now.