Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjay Billones committed Jul 2, 2015
1 parent bb88041 commit 6c72345
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/models/crop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
@crop = FactoryGirl.create(:tomato)
@crop.default_scientific_name.should eq nil
@sn = FactoryGirl.create(:solanum_lycopersicum, :crop => @crop)
@crop.reload
@crop.default_scientific_name.should eq @sn.scientific_name
end

Expand Down

0 comments on commit 6c72345

Please sign in to comment.