Project

General

Profile

Defect #7834 » fail.rb

Simple test. May need to adjust param to find to ensure retrieve of empty issue array - milki milk, 2011-03-11 11:15

 

#!/usr/local/bin/ruby

require 'rubygems'
require 'active_resource'


class Issue < ActiveResource::Base
self.site = 'http://demo.redmine.org/projects/fffaaa'
end

issue = Issue.find(:first, :params => { :project_id => 3 })
(3-3/3)