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
|
2018-02-08 16:24:05 +00:00
|
|
|
expect(subject.rate_model).to eq '::Rating::Rate'
|
|
|
|
expect(subject.rating_model).to eq '::Rating::Rating'
|
2018-02-08 15:29:20 +00:00
|
|
|
end
|
|
|
|
end
|