RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: kennym
Site: http://www.kennymeyer.net
There is this Gist I have found: https://gist.github.com/galaxylord/1451289
It basically boils down to this:
it 'takes time' do Benchmark.realtime{ get :index }.should < 1.5 end
It would be awesome to see some native support for RSpec, if it is appropriate, but the real question is why there is no API yet in RSpec, being such a popular project.
I am not quite familiar with the concept of Presenters. Can you recommend any articles/videos on the topic?
There is this Gist I have found: https://gist.github.com/galaxylord/1451289
It basically boils down to this:
It would be awesome to see some native support for RSpec, if it is appropriate, but the real question is why there is no API yet in RSpec, being such a popular project.
I am not quite familiar with the concept of Presenters. Can you recommend any articles/videos on the topic?