That’s me :)
Visit http://www.anatolyspektor.com to find out more about me !
Get My Book
- Fun stuff
- IT News
- My Work
- Programming Languages
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Category Archives: Rails
#10 Avoid writing to the database Lets take simple example. I have this test: I am testing if Address is valid by passing a Factory with dummy data. When I run this test in console I get this: 0.022777 For … Continue reading
One more note on RSpec 3.0, this time one useful function that mocks File Upload , saves file/archive content to memory so after it you can do whatever your soul wants with it. Test file/archive should exist in the file … Continue reading
Recently, I have been doing whole bunch of spec rewriting from RSpec 2 to Rspec 3. As a result I have found that documentation is not that straightforward, and some cases you need to really spend time and figure … Continue reading
Hey guys! Today I have decided to share with you little secret, that can save you quite some time, while writing templates with HAML. While creating a form for one of the projects, I needed to put a checkbox within … Continue reading