mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
first paper model spec
This commit is contained in:
parent
88c7951160
commit
2280e47bab
1 changed files with 7 additions and 0 deletions
7
spec/models/paper_spec.rb
Normal file
7
spec/models/paper_spec.rb
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
require 'rails_helper'
|
||||||
|
|
||||||
|
RSpec.describe Paper do
|
||||||
|
context "Validations" do
|
||||||
|
it { should validate_presence_of(:name) }
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue