Sha256: 457f9af73c958b422d3ede2584c50fffe436692f4bd004e0736f1fa0cef6e393
Contents?: true
Size: 363 Bytes
Versions: 5
Compression:
Stored size: 363 Bytes
Contents
require 'rails_helper' module Wordpress RSpec.describe Option, type: :model do let(:option) { create(:option, option_name: "Hello", option_value: "World") } it "should create hello option" do expect(option.option_name).to eq "Hello" expect(option.option_value).to eq "World" expect(option.id).to eq option.option_id end end end
Version data entries
5 entries across 5 versions & 1 rubygems