Fix spec fail with taxons by id

This commit is contained in:
Rohan Mitchell
2014-07-04 11:55:34 +10:00
parent 94902268e2
commit ae0392b383

View File

@@ -11,7 +11,7 @@ describe Api::EnterpriseSerializer do
it "includes distributed taxons" do
enterprise.stub(:distributed_taxons).and_return [taxon]
serializer = Api::EnterpriseSerializer.new enterprise
serializer.to_json.should match taxon.name
serializer.to_json.should match taxon.id.to_s
end
it "will render urls" do