Temporary remove organizations from API

This commit is contained in:
Alberto Miedes Garcés
2016-12-26 20:45:46 +01:00
parent 2311cd4b1d
commit 2741dcf03c
2 changed files with 2 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ describe ConsulSchema do
end
it "returns has_one associations" do
pending "Organizations are not being exposed yet"
organization = create(:organization)
response = execute("{ user(id: #{organization.user_id}) { organization { name } } }")
expect(dig(response, 'data.user.organization.name')).to eq(organization.name)
@@ -52,6 +53,7 @@ describe ConsulSchema do
end
it "executes deeply nested queries" do
pending "Organizations are not being exposed yet"
org_user = create(:user)
organization = create(:organization, user: org_user)
org_proposal = create(:proposal, author: org_user)