aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-05-31 00:44:51 -0300
committerRafael França <rafaelmfranca@gmail.com>2016-05-31 00:44:51 -0300
commit3dad1b0cf6ae0062de5996a1b84986ddc441292e (patch)
treeb5d5e73674c054751bd1da68c437f694f9221ecf /actionpack/test/abstract_unit.rb
parentd92a0d040d68038f111adf64446c8d0abf949729 (diff)
parent1fe7399fa9506d47c532e4023628ce81d6ddfa79 (diff)
downloadrails-3dad1b0cf6ae0062de5996a1b84986ddc441292e.tar.gz
rails-3dad1b0cf6ae0062de5996a1b84986ddc441292e.tar.bz2
rails-3dad1b0cf6ae0062de5996a1b84986ddc441292e.zip
Merge pull request #25206 from maclover7/jm-ap-tests
Move `Workshop` class definition
Diffstat (limited to 'actionpack/test/abstract_unit.rb')
-rw-r--r--actionpack/test/abstract_unit.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index fcbbfe8a18..618df930c9 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -256,24 +256,6 @@ end
class ::ApplicationController < ActionController::Base
end
-class Workshop
- extend ActiveModel::Naming
- include ActiveModel::Conversion
- attr_accessor :id
-
- def initialize(id)
- @id = id
- end
-
- def persisted?
- id.present?
- end
-
- def to_s
- id.to_s
- end
-end
-
module ActionDispatch
class DebugExceptions
private