~bkerensa/ubuntu/raring/puppet/new-upstream-release

« back to all changes in this revision

Viewing changes to spec/unit/parser/functions/regsubst_spec.rb

  • Committer: Benjamin Kerensa
  • Date: 2012-11-21 23:50:52 UTC
  • mfrom: (1.1.30)
  • Revision ID: bkerensa@ubuntu.com-20121121235052-ah7nzabp77sh69gb
New Upstream Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env rspec
 
1
#! /usr/bin/env ruby
2
2
require 'spec_helper'
3
3
 
4
4
describe "the regsubst function" do
7
7
  end
8
8
 
9
9
  before :each do
10
 
    @scope = Puppet::Parser::Scope.new
 
10
    node     = Puppet::Node.new('localhost')
 
11
    compiler = Puppet::Parser::Compiler.new(node)
 
12
    @scope   = Puppet::Parser::Scope.new(compiler)
11
13
  end
12
14
 
13
15
  it "should exist" do