File: whit_spec.rb

package info (click to toggle)
puppet 4.8.2-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 20,736 kB
  • ctags: 14,616
  • sloc: ruby: 236,754; xml: 1,586; sh: 1,178; lisp: 299; sql: 103; yacc: 72; makefile: 52
file content (10 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#! /usr/bin/env ruby
require 'spec_helper'

whit = Puppet::Type.type(:whit)

describe whit do
  it "should stringify in a way that users will regognise" do
    expect(whit.new(:name => "Foo::Bar").to_s).to eq("Foo::Bar")
  end
end