15 lines
268 B
Ruby
15 lines
268 B
Ruby
require 'rails_helper'
|
|
|
|
module Merged
|
|
RSpec.describe Card, type: :model do
|
|
let(:first) {Card.all.values.first}
|
|
|
|
it "has Card.all" do
|
|
expect(Card.all.class).to be Hash
|
|
end
|
|
it "has cards" do
|
|
expect(first.class).to be Card
|
|
end
|
|
end
|
|
end
|