Sha256: ce97c05727ff0a048d9ed3061311a8b25a957b36582fd682bcbab740c8b94740

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

require 'spec_helper'

describe Vagrant::Boxen::Modules::Memcached do
  let(:manifest) { subject.build_manifest }

  subject { described_class.new(:memory => '10%') }

  it 'includes memcached class on manifest' do
    manifest.should =~ /^class { 'memcached': /
  end

  it 'maps memory option to max_memory' do
    manifest.should =~ /max_memory\s+=>\s+'10%',/
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-boxen-0.0.4 spec/unit/modules/memcached_spec.rb
vagrant-boxen-0.0.3 spec/unit/modules/memcached_spec.rb