spec/article_spec.rb in reviewed-0.2.0 vs spec/article_spec.rb in reviewed-0.2.1
- old
+ new
@@ -17,9 +17,16 @@
it 'has_many :pages' do
Reviewed::Article._embedded_many.should include({"pages"=>Reviewed::Page})
end
end
+ describe 'deals' do
+
+ it 'has_many :deals' do
+ Reviewed::Article._embedded_many.should include({"deals"=>Reviewed::Deal})
+ end
+ end
+
describe 'products' do
it 'has_many :products' do
Reviewed::Article._embedded_many.should include({"products"=>Reviewed::Product})
end