test/rails/helpers/test_helper.rb in dima-restfulx-1.2.2 vs test/rails/helpers/test_helper.rb in dima-restfulx-1.2.3

- old
+ new

@@ -7,11 +7,10 @@ require 'active_support/test_case' require 'active_record' require 'active_record/fixtures' require 'action_controller' require 'action_controller/test_case' -require 'action_controller/assertions' require 'action_controller/test_process' require 'action_controller/integration' require 'sqlite3' require File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'restfulx') require File.join(File.dirname(__FILE__), '..', 'models', 'note') @@ -29,16 +28,10 @@ @content_type = content_type end end -class Test::Unit::TestCase #:nodoc: - # Turn off transactional fixtures if you're working with MyISAM tables in MySQL - self.use_transactional_fixtures = true - - # Instantiated fixtures are slow, but give you @david where you otherwise would need people(:david) - self.use_instantiated_fixtures = true - +class ActiveRecord::TestCase #:nodoc: # Add more helper methods to be used by all tests here... # Use this to test xml or fxml responses in unit tests. For example, # set_response_to user.to_fxml # assert_xml_select 'user name', 'quentin' \ No newline at end of file