Permalink
Browse files

Unused classes in AS tests

  • Loading branch information...
1 parent 86dcb55 commit 4e68765cf65a435ef706d875c51bfcfcbd6fef3a @amatsuda amatsuda committed Dec 19, 2013
@@ -1,27 +1,6 @@
require 'abstract_unit'
module CallbacksTest
- class Phone
- include ActiveSupport::Callbacks
- define_callbacks :save
-
- set_callback :save, :before, :before_save1
- set_callback :save, :after, :after_save1
-
- def before_save1; self.history << :before; end
- def after_save1; self.history << :after; end
-
- def save
- run_callbacks :save do
- raise 'boom'
- end
- end
-
- def history
- @history ||= []
- end
- end
-
class Record
include ActiveSupport::Callbacks
@@ -12,12 +12,6 @@ class Ab
Constant3 = "Goodbye World"
end
-module Xy
- class Bc
- include One
- end
-end
-
module Yz
module Zy
class Cd
@@ -1,2 +0,0 @@
-class Custom
-end
@@ -6,7 +6,6 @@ class Bar < Foo
def index; end
def self.index; end
end
-class Baz < Bar; end
module FooBar; end
class ConstantLookupTest < ActiveSupport::TestCase

2 comments on commit 4e68765

Owner

jeremy replied Dec 19, 2013

Old & forgotten - goodbye! ❤️

💥🔫👍

Please sign in to comment.