Sha256: 7ef286da965cfd5716eb708fa77bcaeac9317ba7a5cfccf433f747cafbad9630

Contents?: true

Size: 563 Bytes

Versions: 10

Compression:

Stored size: 563 Bytes

Contents

# PuppetMagnum rspec tests
#
# The following spec tests try to follow the best practices laid
# out on the following websites:
#
# See {http://www.relishapp.com/rspec/rspec-core/v/2-11/docs}
# See {http://betterspecs.org}
#
# @author Tehmasp Chaudhri {mailto:tehmasp@gmail.com}
require 'spec_helper'

describe PuppetMagnum do

  context 'when setting up the project root' do
    subject(:puppet_magnum_root) { PuppetMagnum::root }
    it { expect(puppet_magnum_root).to_not be_nil }
    it { expect(puppet_magnum_root.to_s).to match(/puppet-magnum/) }
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
puppet-magnum-3.0.12 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.11 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.10 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.9 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.8 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.7 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.6 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.5 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.4 spec/lib/puppet_magnum_spec.rb
puppet-magnum-3.0.3 spec/lib/puppet_magnum_spec.rb