spec/fixtures/scm_operation.rb in dm-validations-0.10.1 vs spec/fixtures/scm_operation.rb in dm-validations-0.10.2
- old
+ new
@@ -31,24 +31,19 @@
# Validations
#
validates_present :name
end
- ScmOperation.auto_migrate!
-
class SubversionOperation < ScmOperation
#
# Validations
#
validates_present :network_connection, :when => [:committing, :log_viewing]
end
- SubversionOperation.auto_migrate!
-
-
class GitOperation < ScmOperation
#
# Validations
#
@@ -59,9 +54,6 @@
:pushing => "though git is advanced, it cannot push without network connectivity",
:pulling => "you must have network connectivity to pull from others"
}
validates_present :clean_working_copy, :when => :pulling
end
-
-
- GitOperation.auto_migrate!
end