« Return to Thread: Rspec + Oracle

Re: Rspec + Oracle

by Anthony Carlos :: Rate this Message:

Reply to Author | View in Thread


I believe the bug was posted by John Andrews, and it's still open as  
of yesterday.

RSpec bug [#10577] Rails with Oracle breaks 0.9.2
http://rubyforge.org/tracker/index.php?
func=detail&aid=10577&group_id=797&atid=3149

Your solution might help them!

Thanks,

-Anthony

On May 18, 2007, at 7:46 AM, shatorkin@... wrote:

>
> I make work rspec with oracle.
> I have a spec what contains Model.find(1) cause (record with id=1
> exists in the table).
> Model.find(:first) works well
>
> Spec uses method "instance_eval" where name of ruby file and row
> number  are passed as parameter.
> When script invokes "describe" method of OCI8 Class
> (oracle_adapter.rb) it is failed with error message "block not
> supplied".
> When I added an alias: "alias_method :my_describe,:describe" and
> called 'my_describe' instead of 'describe' spec did work well.
> Whose is this bug - ruby,spec, or oracle_adapter I have not known
> yet :).
>
>
>

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Rspec + Oracle