Hi all, Anyone using cucumber with sinitra (current). Wondering if I need to use Aslaks sinatra/webrat forks. Also if anyone has a sample app :) All best Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090216/d7646ad8/attachment.html>
On Mon, Feb 16, 2009 at 7:39 AM, Andrew Premdas <apremdas at gmail.com> wrote:> Hi all, > > Anyone using cucumber with sinitra (current). Wondering if I need to use > Aslaks sinatra/webrat forks. Also if anyone has a sample app :) >I''ve created a ticket for it: http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/204-sinatra-example Aslak> All best > > Andrew > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Aslak (::)
http://tooky.github.com/2009/02/05/getting-started-with-cucumber-and-sinatra.html Andrew Premdas wrote:> Anyone using cucumber with sinitra (current). Wondering if I need to use > Aslaks sinatra/webrat forks. Also if anyone has a sample app :)-- Posted via http://www.ruby-forum.com/.
On Thu, Feb 26, 2009 at 1:27 PM, Steve Tooky <lists at ruby-forum.com> wrote:> http://tooky.github.com/2009/02/05/getting-started-with-cucumber-and-sinatra.html >Rob Holland updated the wiki yesterday: http://wiki.github.com/aslakhellesoy/cucumber/sinatra (He reports that the $0 trick described in the blog doesn''t work with the latest Sinatra). Rob also has an example in his fork, which I have yet to merge into my repo: http://github.com/robholland/cucumber/commit/0e12d8100ca8541af014abe6a480c53a90b6aebd Aslak> Andrew Premdas wrote: >> Anyone using cucumber with sinitra (current). Wondering if I need to use >> Aslaks sinatra/webrat forks. Also if anyone has a sample app :) > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Aslak (::)
Thanks Steve much appreciated :) 2009/2/26 Steve Tooky <lists at ruby-forum.com>> > http://tooky.github.com/2009/02/05/getting-started-with-cucumber-and-sinatra.html > > Andrew Premdas wrote: > > Anyone using cucumber with sinitra (current). Wondering if I need to use > > Aslaks sinatra/webrat forks. Also if anyone has a sample app :) > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090227/0fc9d678/attachment.html>
Aslak Helles?y wrote:> Rob Holland updated the wiki yesterday: > http://wiki.github.com/aslakhellesoy/cucumber/sinatra > (He reports that the $0 trick described in the blog doesn''t work with > the latest Sinatra). > Rob also has an example in his fork, which I have yet to merge into my > repo: > http://github.com/robholland/cucumber/commit/0e12d8100ca8541af014abe6a480c53a90b6aebd > > AslakThanks, I''ve updated my blog to reflect. -- Posted via http://www.ruby-forum.com/.
> Aslak Helles?y wrote: >> Rob Holland updated the wiki yesterday: >> http://wiki.github.com/aslakhellesoy/cucumber/sinatra >> (He reports that the $0 trick described in the blog doesn''t work with >> the latest Sinatra). >> Rob also has an example in his fork, which I have yet to merge into >> my >> repo: >> http://github.com/robholland/cucumber/commit/0e12d8100ca8541af014abe6a480c53a90b6aebd >>This is now in my master too. Aslak>> Aslak > > Thanks, I''ve updated my blog to reflect. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
With Cuc and Rails I''d be able to debug step definitions by putting ''debugger'' in the relevant step definition. With Sinatra configured as above this doesn''t work. Any tips on making this work and/or explaining whats different/ Cheers Andrew 2009/2/27 Aslak Helles?y <aslak.hellesoy at gmail.com>> > > Aslak Helles?y wrote: >> >>> Rob Holland updated the wiki yesterday: >>> http://wiki.github.com/aslakhellesoy/cucumber/sinatra >>> (He reports that the $0 trick described in the blog doesn''t work with >>> the latest Sinatra). >>> Rob also has an example in his fork, which I have yet to merge into my >>> repo: >>> >>> http://github.com/robholland/cucumber/commit/0e12d8100ca8541af014abe6a480c53a90b6aebd >>> >>> > This is now in my master too. > > Aslak > > > Aslak >>> >> >> Thanks, I''ve updated my blog to reflect. >> >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090304/4fa7c849/attachment.html>
On Wed, Mar 4, 2009 at 4:30 AM, Andrew Premdas <apremdas at gmail.com> wrote:> With Cuc and Rails I''d be able to debug step definitions by putting > ''debugger'' in the relevant step definition. With Sinatra configured as above > this doesn''t work. Any tips on making this work and/or explaining whats > different/Just use: require ''ruby-debug/debugger'' where you''d normally use debugger. The difference is sinatra doesn''t load ruby-debug itself.
Thanks alot - works a treat :) 2009/3/4 Rob Holland <rob.holland at gmail.com>> On Wed, Mar 4, 2009 at 4:30 AM, Andrew Premdas <apremdas at gmail.com> wrote: > > With Cuc and Rails I''d be able to debug step definitions by putting > > ''debugger'' in the relevant step definition. With Sinatra configured as > above > > this doesn''t work. Any tips on making this work and/or explaining whats > > different/ > > Just use: require ''ruby-debug/debugger'' where you''d normally use debugger. > > The difference is sinatra doesn''t load ruby-debug itself. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090304/5f42fbb9/attachment.html>