fix driver spec test

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
spec: driver: add stub for pool and volume
clean unused stub

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
fix exception on join

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
driver: explict method call

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
update test box.xml

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
add spec test for driver

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
fix permission problem

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Fix typo

- Fix suggenstion in
https://github.com/adrahon/vagrant-kvm/issues/187#issuecomment-39277127

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Merge branch 'fix_driver_spec_test' into v0.1.5-maint

backport fix from v0.1.7dev to 0.1.6

Conflicts:
	lib/vagrant-kvm/driver/driver.rb
	spec/vagrant-kvm/driver/driver_spec.rb
fixed #182

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Fix spec test error

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Conflicts:

	spec/vagrant-kvm/driver/driver_spec.rb
rspec: fix vm_definition and driver cases

- image_mode default
- add add_name() for test sequence.
it fixes following error
VagrantPlugins::ProviderKvm::Driver::Driver#import does not raise exception
Failure/Error: expect do
expected no Exception, got #<Libvirt::DefinitionError: Call to virDomainDefineXML failed: missing name information> with backtrace:
- fix following:
VagrantPlugins::ProviderKvm::Driver::Driver#import does not raise exception
Failure/Error: expect do
expected no Exception, got #<NoMethodError: undefined method `create_volume_xml' for nil:NilClass> with backtrace:
/home/travis/build/miurahr/vagrant-kvm/lib/vagrant-kvm/driver/driver.rb:96:in `create_volume'

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Conflicts:

	spec/vagrant-kvm/config_spec.rb
	spec/vagrant-kvm/driver/driver_spec.rb
Merge pull request #197 from miurahr/fix_bug193_permission

fix permission problem