diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c74b8c4..7f00e6e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -48,6 +48,12 @@ RSpec.configure do |config| DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with :truncation + # Create terms and conditions + Document.create(label: "t&c") do |doc| + doc.title = "Terms and Conditions" + doc.content = "blah blah blah" + end + end config.before(:each) do