aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/record_identifier_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/record_identifier_test.rb')
-rw-r--r--actionpack/test/controller/record_identifier_test.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/actionpack/test/controller/record_identifier_test.rb b/actionpack/test/controller/record_identifier_test.rb
index e46e317e31..f3e5ff8a47 100644
--- a/actionpack/test/controller/record_identifier_test.rb
+++ b/actionpack/test/controller/record_identifier_test.rb
@@ -1,19 +1,6 @@
require 'abstract_unit'
require 'controller/fake_models'
-class Sheep
- extend ActiveModel::Naming
- include ActiveModel::Conversion
-
- attr_reader :id
- def to_key; id ? [id] : nil end
- def save; @id = 1 end
- def new_record?; @id.nil? end
- def name
- @id.nil? ? 'new sheep' : "sheep ##{@id}"
- end
-end
-
class RecordIdentifierTest < Test::Unit::TestCase
include ActionController::RecordIdentifier