[Rails] Re: Understanding how methods are made available within controller tests

2009-03-14 Thread Frederick Cheung
On Mar 13, 5:55 pm, Karl Baum wrote: > Makes sense.  My only confusion is I thought that in ruby methods and > attributes can be imported to a class either through inheritance or > importing a module.  In this case, these extra attributes such as "session" > or "cookies" do not exist within the

[Rails] Re: Understanding how methods are made available within controller tests

2009-03-13 Thread Karl Baum
Makes sense. My only confusion is I thought that in ruby methods and attributes can be imported to a class either through inheritance or importing a module. In this case, these extra attributes such as "session" or "cookies" do not exist within the parent class nor the imported module. Is rails

[Rails] Re: Understanding how methods are made available within controller tests

2009-03-13 Thread Frederick Cheung
On Mar 13, 3:38 am, Karl wrote: > Being new to rails and ruby, I am trying to figure out how things fit > together.  In particular i am trying to understand how attributes such > as "session" and "cookies" are made available to Controller tests. > Specifically I am working on a test from the Ra