Project

General

Profile

« Previous | Next » 

Revision aa1796f3

Added by Paul Kelly almost 14 years ago

  • ID aa1796f3efcd11e491ee2e55a91e6ae86529e8ea

Fixes #261 - parameters now use a single reference_id

This implementation uses STI but the table looks the same for all
variants. This is a little strange but it seems to work.

Also removed obsolete controllers and tests
Added more tests

View differences:

test/functional/audits_controller_test.rb
class AuditsControllerTest < ActionController::TestCase
def test_index
get :index
get :index, {}, set_session_user
assert_template 'index'
end
def test_show
get :show, :id => Audit.first
get :show, {:id => Audit.first}, set_session_user
assert_template 'show'
end
end

Also available in: Unified diff