Sha256: be37fd145634f33bc72807f5e872aa4959cfec42257cb738a7dfac7c607093cc

Contents?: true

Size: 255 Bytes

Versions: 11

Compression:

Stored size: 255 Bytes

Contents

require 'spec_helper'

describe Content do

  it "should return the ingredient from its essence" do
    Factory(:element)
		EssenceText.first.update_attributes(:body => "Hello")
		Content.first.ingredient.should == EssenceText.first.ingredient
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy_cms-2.0.6.1 spec/models/content_spec.rb
alchemy_cms-2.0.5 spec/models/content_spec.rb
alchemy_cms-2.0.4 spec/models/content_spec.rb
alchemy_cms-2.0.3.1 spec/models/content_spec.rb
alchemy_cms-2.1.beta1 spec/models/content_spec.rb
alchemy_cms-2.0.3 spec/models/content_spec.rb
alchemy_cms-2.0.2 spec/models/content_spec.rb
alchemy_cms-2.0.1 spec/models/content_spec.rb
alchemy_cms-2.0 spec/models/content_spec.rb
alchemy_cms-2.0.rc6 spec/models/content_spec.rb
alchemy_cms-2.0.rc5 spec/models/content_spec.rb