spec/unit/crawl_spec.rb in elasticrawl-1.1.4 vs spec/unit/crawl_spec.rb in elasticrawl-1.1.5
- old
+ new
@@ -1,7 +1,7 @@
require 'spec_helper'
-describe Elasticrawl::Crawl do
+describe Elasticrawl::Crawl, type: :model do
it { should have_many(:crawl_segments) }
it { should have_db_column(:crawl_name).of_type(:string) }
describe '#has_segments?' do
let(:crawl_name) { 'CC-MAIN-2014-49' }