Use display in followable shared specs names when referring to DOM elements renderization. Add whitespace to proposal page.

This commit is contained in:
taitus
2017-07-05 15:48:31 +02:00
committed by Senén Rodero Rodríguez
parent 5fe894aa6b
commit e54e33f296
6 changed files with 64 additions and 65 deletions

View File

@@ -8,17 +8,17 @@ describe Follow do
expect(follow).to be_valid
end
it "should not be valid without an user_id" do
it "should not be valid without a user_id" do
follow.user_id = nil
expect(follow).to_not be_valid
end
it "should not be valid without an followable_id" do
it "should not be valid without a followable_id" do
follow.followable_id = nil
expect(follow).to_not be_valid
end
it "should not be valid without an followable_type" do
it "should not be valid without a followable_type" do
follow.followable_type = nil
expect(follow).to_not be_valid
end