Corrected description in spec

This commit is contained in:
Brenda Wallace
2016-11-20 21:13:33 +13:00
parent 12a9a0b97d
commit dddc7b020d

View File

@@ -161,7 +161,7 @@ describe PhotosController do
end
describe "with mismatched owners" do
it "creates the planting/photo link" do
it "does not create the planting/photo link" do
# members will be auto-created, and different
planting = FactoryGirl.create(:planting)
photo = FactoryGirl.create(:photo)
@@ -170,7 +170,7 @@ describe PhotosController do
Photo.last.plantings.first.should_not eq planting
end
it "creates the harvest/photo link" do
it "does not create the harvest/photo link" do
# members will be auto-created, and different
harvest = FactoryGirl.create(:harvest)
photo = FactoryGirl.create(:photo)