Sha256: 4801c849cefc923e1d6cdaade1be8e0aea2f72f128ea1c4fa22b2e3537ea0ed4

Contents?: true

Size: 340 Bytes

Versions: 6

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

describe Fierce, 'configuration' do
  describe '.add_path' do
    before do
      Fierce.clear_paths
    end

    it "adds a lookup path for view classes" do
      Fierce.paths.should be_empty
      Fierce.add_path "/foo"
      Fierce.paths.size.should == 1
      Fierce.paths.first.should == '/foo'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fierce-0.2.0 spec/config_spec.rb
fierce-0.1.4 spec/config_spec.rb
fierce-0.1.3 spec/config_spec.rb
fierce-0.1.2 spec/config_spec.rb
fierce-0.1.1 spec/config_spec.rb
fierce-0.1.0 spec/config_spec.rb