rating/spec/config/initialize_spec.rb

11 lines
251 B
Ruby
Raw Normal View History

2018-02-08 15:29:20 +00:00
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Rating::Config, 'initialize' do
it 'has default models' do
expect(subject.rate_model).to eq ::Rating::Rate
expect(subject.rating_model).to eq ::Rating::Rating
end
end