Tests are usually biggest bottleneck in any system. Here are 10 ways to speed up RSpec with Capybara #10 Avoid…
Read MoreTag: Rspec
Generate 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 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 More