Skip to content

Commit

Permalink
fixed problems with specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dimus committed Oct 4, 2013
1 parent a6ac648 commit 0f34077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class NomenclaturalRank::Iczn::Governed::FamilyGroup < NomenclaturalRank::Iczn::Governed

def self.validate_name_format(taxon_name)
taxon_name.errors.add(:name, 'name must be capitalized') if not(taxon_name.name = taxon_name.capitalize)
taxon_name.errors.add(:name, 'name must be capitalized') if not(taxon_name.name == taxon_name.name.capitalize)
end
end
2 changes: 1 addition & 1 deletion spec/models/chresonym_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end

specify "typification" do
expect(chresonym.typification).to eq('Chresonym')
expect(chresonym.type).to eq('Chresonym')
end

specify "rank_class" do
Expand Down

0 comments on commit 0f34077

Please sign in to comment.