search for: ticket_test

Displaying 2 results from an estimated 2 matches for "ticket_test".

Did you mean: ticket_st
2005 Oct 20
5
Unit Test Error: `load_specification': undefined method `parse' for Time:Class
...b" "test/unit/lab_test.rb" "test/unit/link_test.rb" "test/unit/localization_test.rb" "test/unit/ notification_test.rb" "test/unit/priority_test.rb" "test/unit/ role_test.rb" "test/unit/supplier_type_test.rb" "test/unit/ ticket_test.rb" /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:74:in `load_specification'': undefined method `parse'' for Time:Class (NoMethodError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ specification.rb:307:in `date='' from /usr/local/lib/rub...
2005 Dec 11
4
Problem with acts_as_paranoid: "ArgumentError: Unknown key(s): group"
...arget'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active_record/associations/association_proxy.rb:81:in `load_target'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active_record/associations/association_collection.rb:20:in `<<'' ./test/unit/ticket_test.rb:62:in `test_add_message_to_existing_ticket'' The code in question: t.messages << Message.new({ :body => "ya message body", :user => users(:bob) }) t is a Ticket object, and a Ticket has_many :messages. Both Ticket and Message mixin acts_as_paranoid. I also...