Skip to content

Commit

Permalink
Added should raise an exception if the group does not exist to group …
Browse files Browse the repository at this point in the history
…spec
  • Loading branch information
dbraga committed Oct 5, 2012
1 parent efb8a67 commit ec79f89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/ruby_provisioning_api/group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def has_entity_stub(entity, entity_id, group_id = FAKE_GROUP_ID)
group.email_permission.should be_eql FAKE_EMAIL_PERMISSION
end

it "should raise an exception if the group does not exist"
it "should raise an exception if the group does not exist" do
lambda { RubyProvisioningApi::Group.find("This_group_does_not_exist") }.should raise_error
end

end

Expand Down

0 comments on commit ec79f89

Please sign in to comment.