From 2280e47bab837b09915b77414efe23d9e7fd3f7f Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Wed, 17 Feb 2016 08:36:16 +0100 Subject: [PATCH] first paper model spec --- spec/models/paper_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spec/models/paper_spec.rb diff --git a/spec/models/paper_spec.rb b/spec/models/paper_spec.rb new file mode 100644 index 0000000..760da66 --- /dev/null +++ b/spec/models/paper_spec.rb @@ -0,0 +1,7 @@ +require 'rails_helper' + +RSpec.describe Paper do + context "Validations" do + it { should validate_presence_of(:name) } + end +end