spec/organizations_spec.rb in zendesk2-0.2.2 vs spec/organizations_spec.rb in zendesk2-0.2.3
- old
+ new
@@ -6,9 +6,10 @@
lambda { {name: Zendesk2.uuid} },
lambda { {name: Zendesk2.uuid} }
describe "with an organization" do
let(:organization) { client.organizations.create(name: Zendesk2.uuid) }
+
it "should get #users" do
user = client.users.create(email: "#{Zendesk2.uuid}@example.org", name: Zendesk2.uuid, organization: organization)
organization.users.should include user
end