Project

General

Profile

« Previous | Next » 

Revision edf4198b

Added by Ohad Levy almost 14 years ago

  • ID edf4198b504808ba4bec5a354500049e0dbef44a

fixes #271 - remove active scaffold plugin

View differences:

test/functional/hosts_controller_test.rb
test "report should redirect to host's last report" do
get :report, {:id => @host.id}, set_session_user
assert_response :found
assert_redirected_to :controller => "reports", :action => "show", :id => @host.id
assert_redirected_to :controller => "reports", :action => "show", :id => Report.maximum(:id, :conditions => {:host_id => @host})
end
test "query in .yml format should return host.to_yml" do

Also available in: Unified diff