Sha256: c6d125baf02e2d42ba08ee219eb9e0d67053a9e050758d2d813ab33442bba9c0
Contents?: true
Size: 665 Bytes
Versions: 7
Compression:
Stored size: 665 Bytes
Contents
require "vagrant-xhyve/config" require 'rspec/its' # remove deprecation warnings # (until someone decides to update the whole spec file to rspec 3.4) RSpec.configure do |config| # ... config.mock_with :rspec do |c| c.syntax = [:should, :expect] end config.expect_with :rspec do |c| c.syntax = [:should, :expect] end end describe VagrantPlugins::XHYVE::Config do let(:instance) { described_class.new } before :each do ENV.stub(:[] => nil) end describe "defaults" do subject do instance.tap do |o| o.finalize! end end its("memory") { should.to_s == "1024" } its("cpus") { should == 1 } end end
Version data entries
7 entries across 7 versions & 1 rubygems