lib/cuken/cucumber/chef/role.rb in cuken-0.1.12 vs lib/cuken/cucumber/chef/role.rb in cuken-0.1.13
- old
+ new
@@ -14,11 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
World(::Cuken::Api::Chef::Role)
-When /^I load the Cookbook Roles:$/ do |table|
+When /^I load the Roles:$/ do |table|
load_role_table(table)
end
And /^these Roles exist:$/ do |table|
check_role_table_presence(table)
@@ -33,22 +33,14 @@
###
###
# When
###
-#When /^I load the Cookbook Roles:$/ do |table|
-# # table is a Cucumber::Ast::Table
-# pending # express the regexp above with the code you wish you had
-#end
###
# Then
###
Then /^the Roles are:$/ do |partial_output|
run_knife_command('role list')
all_stdout.should include(partial_output)
end
-#Then /^these Roles exist:$/ do |table|
-# run_knife_command('role list')
-# pending # express the regexp above with the code you wish you had
-#end