RailsCasts Pro episodes are now free!

Learn more or hide this

Kenny Meyer's Profile

GitHub User: kennym

Site: http://www.kennymeyer.net

Comments by Kenny Meyer

Avatar

There is this Gist I have found: https://gist.github.com/galaxylord/1451289

It basically boils down to this:

ruby
      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.

Avatar

I am not quite familiar with the concept of Presenters. Can you recommend any articles/videos on the topic?