test/test_backup.rb in encbs-0.1.0 vs test/test_backup.rb in encbs-0.1.1
- old
+ new
@@ -7,8 +7,29 @@
false
)
end
def test_backup_attributes
+ hostname = Socket.gethostname
+ file = File.expand_path("../fixtures/backups", __FILE__)
+ assert_equal(
+ @backup.root_path,
+ "#{file}/#{hostname}"
+ )
+ assert_equal @backup.hostname, Socket.gethostname
+ assert_equal @backup.file_item.class, Backup::FileItem::Local
+ assert_not_nil @backup.timestamp
+ end
+
+ def test_create
+ end
+
+ def test_show_jars
+ end
+
+ def test_jar_versions
+ end
+
+ def test_restore
end
end
\ No newline at end of file