spec/flydata/command/sync_spec.rb in flydata-0.1.10 vs spec/flydata/command/sync_spec.rb in flydata-0.1.11
- old
+ new
@@ -182,10 +182,10 @@
before do
default_data_entry['mysql_data_entry_preference'].delete('mysqldump_dir')
end
it do
expect(default_sfm.dump_file_path).to eq(
- File.join(ENV['HOME'], '.flydata', 'dump', 'flydata_sync_mysql.dump'))
+ File.join(Flydata::FLYDATA_HOME, 'dump', 'flydata_sync_mysql.dump'))
end
end
context 'when file exists' do
before { `touch #{default_mysqldump_dir}`}
it do