Tests are usually biggest bottleneck in any system. Here are 10 ways to speed up RSpec with Capybara #10 Avoid…
Read MoreProgramming Tutorials
Step by step programming tutorials
How to measure Ruby method performance ?
Hey Guys, Today, we will use our reverse methods that we have built in the previous post and measure how good…
Read MoreReverse String in Ruby – Multiple ways !
Hello again! I am continuing answering to your questions, this one came from marthab86_. marthab86_ asks: “I know Ruby has…
Read MoreGet Movies from RottenTomatoes API PART 2 (Ruby)
Here we are with Part 2 of our tutorial. Who missed the first part – it’s here. Also if you…
Read MoreGet Movies from RottenTomatoes API
I have gotten numerous emails with this question. I have decided to build a small app, that is based on…
Read MoreGenerate unique filename (Ruby)
Hey guys! Happy New Year! I am glad to be back this year with some interesting news. Thank you for…
Read MoreMock file upload with RSpec 3
One more note on RSpec 3.0, this time one useful function that mocks File Upload , saves file/archive content to…
Read MoreStub (mock) File.read in RSpec 3
Recently, I have been doing whole bunch of spec rewriting from RSpec 2 to Rspec 3. As a result…
Read MoreHow to Stub IP in RSpec 3?
Often when you are writing unit tests, you want to stub your IP address. Some of the uses cases could be…
Read MoreHow to scaffold JavaScript Web Application in seconds using YEOMAN ? (example with Backbone Marionette)
Hey guys, Today I want to discuss an issue that I have been recently facing, and how to solve it….
Read More