Sha256: 65343a8a9f9a5ef15ce76f9096ae2567bc31ec8c4889bab0d5d35eadb40eb700
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
And /^I find the group with the name "([^\"]*)"$/ do |name| @group = Sorenson::Services::Group.find_by_name(name) end When /^I create a group named "([^\"]*)"$/ do |name| @group = Sorenson::Services::Group.create(name) end When /^I reload the group$/ do @group = Sorenson::Services::Group.find(@group.id) end Then /^I should be able to find the group$/ do @group = Sorenson::Services::Group.find(Sorenson::Services::Group.all.first) end And /^I get all groups$/ do @groups = Sorenson::Services::Group.all end Then /^I delete the group if it was found$/ do @group.destroy if @group end Then /^I delete the group$/ do @group.destroy end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
360_services-0.0.1 | features/step_definitions/manage_groups_steps.rb |