spec/lib/shamu/entities/null_entity_spec.rb in shamu-0.0.21 vs spec/lib/shamu/entities/null_entity_spec.rb in shamu-0.0.24

- old
+ new

@@ -88,7 +88,12 @@ end it "inherits from the entity class" do expect( Shamu::Entities::NullEntity.for( klass ) ).to be < klass end + + it "uses same model name" do + expect( Shamu::Entities::NullEntity.for( klass ).model_name ).to be klass.model_name + end + end -end \ No newline at end of file +end