Sha256: f9641205786d452f5542013309dd0aa8762a15bba6838d708887a7848e273268
Contents?: true
Size: 562 Bytes
Versions: 9
Compression:
Stored size: 562 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
9 entries across 9 versions & 1 rubygems