summaryrefslogtreecommitdiffstats
path: root/spec/unit/indirector/node/memory_spec.rb
blob: 8b26a47c1befed2130d2dd94dfac2c7a9cea8cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env rspec
require 'spec_helper'

require 'puppet/indirector/node/memory'

require 'shared_behaviours/memory_terminus'

describe Puppet::Node::Memory do
  before do
    @name = "me"
    @searcher = Puppet::Node::Memory.new
    @instance = stub 'instance', :name => @name

    @request = stub 'request', :key => @name, :instance => @instance
  end

  it_should_behave_like "A Memory Terminus"
end