merged/spec/models/merged/card_style_spec.rb
2022-12-10 19:22:44 +02:00

14 lines
263 B
Ruby

require 'rails_helper'
module Merged
RSpec.describe CardStyle, type: :model do
let(:first_card) {Style.cards.first}
it "has Style.cards" do
expect(CardStyle.cards.class).to be Hash
expect(CardStyle.cards.length).to be 5
end
end
end