mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-07 18:56:44 +02: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…
Add table
Reference in a new issue