spec/models/content_spec.rb in alchemy_cms-2.0.7 vs spec/models/content_spec.rb in alchemy_cms-2.1.beta1
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
describe Content do
it "should return the ingredient from its essence" do
- FactoryGirl.create(:element)
+ Factory(:element)
EssenceText.first.update_attributes(:body => "Hello")
Content.first.ingredient.should == EssenceText.first.ingredient
end
end