Fix weird bug caused by pending specs
This commit is contained in:
@@ -47,7 +47,7 @@ describe 'ConsulSchema' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "returns has_one associations" do
|
it "returns has_one associations" do
|
||||||
pending "Organizations are not being exposed yet"
|
skip "Organizations are not being exposed yet"
|
||||||
organization = create(:organization)
|
organization = create(:organization)
|
||||||
response = execute("{ user(id: #{organization.user_id}) { organization { name } } }")
|
response = execute("{ user(id: #{organization.user_id}) { organization { name } } }")
|
||||||
expect(dig(response, 'data.user.organization.name')).to eq(organization.name)
|
expect(dig(response, 'data.user.organization.name')).to eq(organization.name)
|
||||||
@@ -71,7 +71,7 @@ describe 'ConsulSchema' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "executes deeply nested queries" do
|
it "executes deeply nested queries" do
|
||||||
pending "Organizations are not being exposed yet"
|
skip "Organizations are not being exposed yet"
|
||||||
org_user = create(:user)
|
org_user = create(:user)
|
||||||
organization = create(:organization, user: org_user)
|
organization = create(:organization, user: org_user)
|
||||||
org_proposal = create(:proposal, author: org_user)
|
org_proposal = create(:proposal, author: org_user)
|
||||||
|
|||||||
Reference in New Issue
Block a user