tests fix
This commit is contained in:
parent
df7c52489a
commit
a4cd738686
7 changed files with 10 additions and 10 deletions
|
@ -16,6 +16,6 @@ describe Wiki do
|
|||
it { should validate_presence_of(:title) }
|
||||
it { should ensure_length_of(:title).is_within(1..250) }
|
||||
it { should validate_presence_of(:content) }
|
||||
it { should validate_presence_of(:user_id) }
|
||||
it { should validate_presence_of(:user) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue