Commit 477a5625 authored by Luke Duncalfe's avatar Luke Duncalfe

Minor copy changes to VersionResolverSpec

parent 1f3bb6f0
......@@ -35,7 +35,7 @@ describe Resolvers::DesignManagement::VersionResolver do
end
end
context "when the is anonymous" do
context "when the user is anonymous" do
let(:current_user) { nil }
it "returns nothing" do
......@@ -43,7 +43,7 @@ describe Resolvers::DesignManagement::VersionResolver do
end
end
context "when the is cannot see designs" do
context "when the user cannot see designs" do
it "returns nothing" do
expect(resolve_versions(first_design, {}, current_user: create(:user))).to be_empty
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment