Sha256: 8b464453299487262edaffd94e8dd20c6b15de008a3608fa4d9a97b109d938f0

Contents?: true

Size: 357 Bytes

Versions: 5

Compression:

Stored size: 357 Bytes

Contents

require 'spec_helper'

module Alchemy
  describe EssenceBoolean do

    it "should act as essence" do
      expect { EssenceBoolean.new.acts_as_essence? }.should_not raise_error(NoMethodError)
    end

    it "should have correct partial path" do
      EssenceBoolean.new.to_partial_path.should == 'alchemy/essences/essence_boolean_view'
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_cms-2.2.2 spec/models/essence_boolean_spec.rb
alchemy_cms-2.2.1 spec/models/essence_boolean_spec.rb
alchemy_cms-2.2.0 spec/models/essence_boolean_spec.rb
alchemy_cms-2.2.rc15 spec/models/essence_boolean_spec.rb
alchemy_cms-2.2.rc14 spec/models/essence_boolean_spec.rb