{"issue":{"created_at":"2011-11-24T18:34:24Z","state":"closed","updated_at":"2011-12-01T20:49:30Z","comments":12,"user":{"gravatar_id":"00ae7c73f5cddc5043e90e88f09df2b7","id":156730,"url":"https://api.github.com/users/maprihoda","login":"maprihoda","avatar_url":"https://secure.gravatar.com/avatar/00ae7c73f5cddc5043e90e88f09df2b7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I added a short code that preloads rspec in the serve function. On my box, when specing with RSpec, it results in a 4-5 seconds speed up on each test run, which I think is worth it.\r\n\r\nI also added a short description to the documentation explaining how to run the whole test suite. This was unclear to me when I was first reading the docs.\r\n\r\nAnd, BTW, thanks for your work, Spin works great for me so far.","assignee":null,"id":2344089,"number":21,"pull_request":{"patch_url":"https://github.com/jstorimer/spin/pull/21.patch","html_url":"https://github.com/jstorimer/spin/pull/21","diff_url":"https://github.com/jstorimer/spin/pull/21.diff"},"labels":[],"title":"Preload rspec with the server start","html_url":"https://github.com/jstorimer/spin/issues/21","closed_at":"2011-11-28T04:24:50Z","url":"https://api.github.com/repos/jstorimer/spin/issues/21","milestone":null},"action":"created","comment":{"created_at":"2011-12-01T20:49:30Z","updated_at":"2011-12-01T20:49:30Z","user":{"gravatar_id":"00ae7c73f5cddc5043e90e88f09df2b7","id":156730,"url":"https://api.github.com/users/maprihoda","login":"maprihoda","avatar_url":"https://secure.gravatar.com/avatar/00ae7c73f5cddc5043e90e88f09df2b7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The idea of supporting a `.spin` file seems to be very attractive at the first sight. However:\r\n- for any other custom behaviour/configuration (at least for rspec and capybara) we would have to load config/environment (which we don't want to do as it would preload the whole app and thus make Spin useless)\r\n- yes, it's 'rspec/rails' that makes the difference. Preloading other gems ('capybara/rspec', 'capybara/rails') adds only a very, very tiny bit to the speed up. So what other libraries would be required in the `.spin` file to justify its existence?","id":2980384,"url":"https://api.github.com/repos/jstorimer/spin/issues/comments/2980384"}}