Use display in followable shared specs names when referring to DOM elements renderization. Add whitespace to proposal page.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
5fe894aa6b
commit
e54e33f296
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user