Hi All, I''ve been looking at simply_bdd lately and I like the concept of it, but for the life of me I can''t see where to put the context calls. Is there a short tutorial somewhere that someone can point me in the direction of that will enlighten me. Cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/18/06, Daniel N <has.sox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi All, > > I''ve been looking at simply_bdd lately and I like the concept of it, but > for the life of me I can''t see where to put the context calls. Is there a > short tutorial somewhere that someone can point me in the direction of that > will enlighten me.in your test cases. context is just a shortcut for creating a test suite. -- Rick Olson http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/19/06, Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On 10/18/06, Daniel N <has.sox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi All, > > > > I''ve been looking at simply_bdd lately and I like the concept of it, > but > > for the life of me I can''t see where to put the context calls. Is there > a > > short tutorial somewhere that someone can point me in the direction of > that > > will enlighten me. > > in your test cases. context is just a shortcut for creating a test suite.Hi Rick, I''ve had a quick look at the Memphisto tests and found the absolute_url_tests file has these context methods. http://svn.techno-weenie.net/projects/mephisto/tags/rel-0.6.1/test/unit/absolute_url_tests.rb But in there I don''t see anything for loading fixtures, also it''s not in the readme. How do I go about this? Thanx Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/18/06, Daniel N <has.sox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On 10/19/06, Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > On 10/18/06, Daniel N <has.sox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi All, > > > > > > I''ve been looking at simply_bdd lately and I like the concept of it, > but > > > for the life of me I can''t see where to put the context calls. Is there > a > > > short tutorial somewhere that someone can point me in the direction of > that > > > will enlighten me. > > > > in your test cases. context is just a shortcut for creating a test suite. > > Hi Rick, > > I''ve had a quick look at the Memphisto tests and found the > absolute_url_tests file has these context methods. > > http://svn.techno-weenie.net/projects/mephisto/tags/rel-0.6.1/test/unit/absolute_url_tests.rb > > But in there I don''t see anything for loading fixtures, also it''s not in > the readme. How do I go about this? >fixtures :foo, :bar http://rails.rubyonrails.org/classes/Fixtures.html -- Rick Olson http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/20/06, Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > fixtures :foo, :bar > > http://rails.rubyonrails.org/classes/Fixtures.html > > Thanx--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---