# Latest Edge Build Breaks Functional Tests

**URL:** <https://www.ruby-forum.com/t/latest-edge-build-breaks-functional-tests/83797>\
**Category:** Rails\
**Created:** [January 29, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/latest-edge-build-breaks-functional-tests/83797 "2007-01-29T20:02:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [January 29, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/latest-edge-build-breaks-functional-tests/83797/1 "2007-01-29T20:02:39Z")

</div>

Hi all,

I’m running edge rails, and didn’t update for a day or two. Then I just  
updated today (revision 6088) and now my functional tests are all  
breaking. The problem seems to arise anytime I use get with a session  
variable, such as

get :login, {}, {:login\_id =\> 1}

The session info does not seem to be used at all. Has the get method  
been changed for functional tests? Any help would be greatly  
appreciated.

Cheers!

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [January 30, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/latest-edge-build-breaks-functional-tests/83797/2 "2007-01-30T18:12:20Z")

</div>

I had a similar problem yesterday that ended up being [afaik] a stricter  
version of RESTful routing. I was testing that put :update [with no id]  
redirected to the index but now it fails. You might want to see if the  
way  
you’ve set up routes might be looking for an id that isn’t given. I also  
had  
the same problem with :destroy .

RSL

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [January 30, 2007, 9:57pm UTC](https://www.ruby-forum.com/t/latest-edge-build-breaks-functional-tests/83797/3 "2007-01-30T21:57:21Z")

</div>

Confirmed that it was a bug introduced by a patch. Here is the ticket:

[http://dev.rubyonrails.org/ticket/7372](http://dev.rubyonrails.org/ticket/7372)

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [February 26, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/latest-edge-build-breaks-functional-tests/83797/4 "2007-02-26T16:59:07Z")

</div>

I seem to be having the same problem with 1.2.2

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [February 7, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/latest-edge-build-breaks-functional-tests/83797/5 "2007-02-07T18:06:09Z")

</div>

Can anyone confirm that this bug was introduced into Rails 1.2.2? I  
think I’m encountering it with the 1.2.2 Gem, but I want to be certain  
that I’m not overlooking a different problem.
