Initial commit
This commit is contained in:
5
spec/support/shared_examples_for_a_notable.rb
Normal file
5
spec/support/shared_examples_for_a_notable.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
shared_examples_for "a notable" do
|
||||
describe "#notes" do
|
||||
it { is_expected.to have_many(:notes).dependent(:destroy) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user