Sha256: beb77ba5e67ebb028e39739c5fbcbff475bc42d16a07b233e1c43f30b38d7116

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

require 'spec_helper'

module Alchemy
  describe EssenceSelect do

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

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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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