Sha256: 23bee1bf5e2ef03283712cc5fea558971364924002af7ac48230030ad2d036ba

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

#
# Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2008 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

###
# Given
###
Given /^a validated Node$/ do
  # client should have cached ohai assigned to it
  client.register
  client.build_node
  client.node.run_list << "integration_setup"
end

#Given /^a Node "([^"]*)"$/ do |arg1|
#  pending # express the regexp above with the code you wish you had
#end
#
####
## When
####
#When /^I add these Node Roles to the Run Lists:$/ do |table|
#  # table is a Cucumber::Ast::Table
#  pending # express the regexp above with the code you wish you had
#end
#
####
## Then
####
#Then /^the Chef nodes are:$/ do |partial_output|
#  run_knife_command('node list')
#  all_stdout.should include(partial_output)
#end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cuken-0.1.7 lib/cuken/cucumber/chef/node.rb