spec/gitlab/client/keys_spec.rb in gitlab-4.2.0 vs spec/gitlab/client/keys_spec.rb in gitlab-4.3.0
- old
+ new
@@ -5,14 +5,14 @@
before do
stub_get("/keys/1", "key")
@key = Gitlab.key(1)
end
- it "should get the correct resource" do
+ it "gets the correct resource" do
expect(a_get("/keys/1")).to have_been_made
end
- it "should return information about a key" do
+ it "returns information about a key" do
expect(@key.id).to eq(1)
expect(@key.title).to eq("narkoz@helium")
end
end
end