diff options
Diffstat (limited to 'spec/models/wiki_spec.rb')
| -rw-r--r-- | spec/models/wiki_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/wiki_spec.rb b/spec/models/wiki_spec.rb index 1e27954cb84..7830c8215fc 100644 --- a/spec/models/wiki_spec.rb +++ b/spec/models/wiki_spec.rb @@ -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 |
