Sha256: e054c97fb88ee4d6769285e89c7320cafcefa4cde338090412a24b30999fdb12
Contents?: true
Size: 567 Bytes
Versions: 12
Compression:
Stored size: 567 Bytes
Contents
require 'spec_helper' describe SCSSLint::Plugins::LinterDir do let(:plugin_directory) { File.expand_path('../../fixtures/plugins', __FILE__) } let(:subject) { described_class.new(plugin_directory) } describe '#config' do it 'returns empty configuration' do subject.config.should == SCSSLint::Config.new({}) end end describe '#load' do it 'requires each file in the plugin directory' do subject.should_receive(:require) .with(File.join(plugin_directory, 'linter_plugin.rb')).once subject.load end end end
Version data entries
12 entries across 12 versions & 1 rubygems