Sha256: 20fd6c796bc52e4b1769f118fb63aeed46bf544a3be9254c2ec68090962a47b7

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

require 'rspec'
require 'cantango'
require 'fixtures/models'

require 'cantango/configuration/engines/store_engine_shared'
require 'path_helper'

describe CanTango::Configuration::Engines::Permission do
  subject { CanTango.config.permissions }

  it_should_behave_like 'Store Engine' do
    subject { CanTango.config.permissions }
  end

  it_should_behave_like 'Store' do
    subject { CanTango.config.permissions.store }
  end

  describe 'config_path' do
    let(:yml_path) { File.join dummy_root_path, 'config' }

    before do
      subject.config_path yml_path
    end

    its(:config_path) { should == yml_path }
  end
end



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cantango-0.8.0 spec/cantango/configuration/engines/permission_spec.rb