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

 
1

    
2
#!/usr/local/bin/ruby
3

    
4
require 'rubygems'
5
require 'active_resource'
6

    
7

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

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