[features] dump/restore is a noop
This commit is contained in:
@@ -41,3 +41,15 @@ end
|
||||
Then(/^it should pass with version$/) do
|
||||
only_processes.last.stdout.chomp.should == tools_version
|
||||
end
|
||||
|
||||
When(/^I dump$/) do
|
||||
run_simple("thin_dump #{dev_file} -o #{new_dump_file}", false)
|
||||
end
|
||||
|
||||
When(/^I restore$/) do
|
||||
run_simple("thin_restore -i #{dump_files[-1]} -o #{dev_file}", false)
|
||||
end
|
||||
|
||||
Then(/^dumps ([0-9]+) and ([0-9]+) should be identical$/) do |d1, d2|
|
||||
run_simple("diff -b #{dump_files[d1.to_i]} #{dump_files[d2.to_i]}", false)
|
||||
end
|
||||
|
Reference in New Issue
Block a user