Sha256: 544235fc1442410ce0d9a3c920fef0467068f168d9b14f902e98d7208e09dab4
Contents?: true
Size: 326 Bytes
Versions: 9
Compression:
Stored size: 326 Bytes
Contents
require 'spec_helper' RSpec.describe Roroacms::Menu, :type => :model do let!(:menu) { FactoryGirl.create(:menu) } it "is invalid without name" do menu.name = nil expect(menu).to_not be_valid end it "is invalid without key" do menu.key = nil expect(menu).to_not be_valid end end
Version data entries
9 entries across 9 versions & 1 rubygems