test/base_test.rb in track_changes-0.5.0 vs test/base_test.rb in track_changes-0.5.1
- old
+ new
@@ -1,20 +1,20 @@
-require 'test_helper'
-
-class BaseTest < Test::Unit::TestCase
- context "when TrackChanges is included in a Class" do
- setup do
- class A
- include TrackChanges
- end
- end
-
- should "include InstanceMethods" do
- assert A.included_modules.include?(TrackChanges::InstanceMethods)
- end
-
- should "extend class with ClassMethods" do
- extended_modules = (class << A; self; end).included_modules
- assert extended_modules.include?(TrackChanges::ClassMethods)
- end
- end
-end
+require 'test_helper'
+
+class BaseTest < Test::Unit::TestCase
+ context "when TrackChanges is included in a Class" do
+ setup do
+ class A
+ include TrackChanges
+ end
+ end
+
+ should "include InstanceMethods" do
+ assert A.included_modules.include?(TrackChanges::InstanceMethods)
+ end
+
+ should "extend class with ClassMethods" do
+ extended_modules = (class << A; self; end).included_modules
+ assert extended_modules.include?(TrackChanges::ClassMethods)
+ end
+ end
+end