Sha256: cee5a05ab472baa760426f90bdd794555021b8ca7d1e690a38da82f6d3efe75c
Contents?: true
Size: 511 Bytes
Versions: 9
Compression:
Stored size: 511 Bytes
Contents
# require 'rails_helper' require 'spec_helper' module Pwb RSpec.describe Content, type: :model do # pending "add some examples to (or delete) #{__FILE__}" let(:content) { FactoryGirl.create(:pwb_content) } # create(:alchemy_element, name: 'headline', create_contents_after_create: true) } it 'has a valid factory' do expect(content).to be_valid end # it "is invalid without a key" do # ::FactoryGirl.build(:pwb_content, key: nil).should_not be_valid # end end end
Version data entries
9 entries across 9 versions & 1 rubygems