Sha256: 51f57032792de490ad0eff78d62bc8e50142b717eee168a0f0a023de9dc3bd51

Contents?: true

Size: 345 Bytes

Versions: 26

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'

describe Stasis::Ignore do

  before(:all) do
    generate
  end
  
  it "should ignore partials" do
    $files['_partial.html'].should == nil
    $files['subdirectory/_partial.html'].should == nil
  end

  it "should ignore subdirectory/ignore.html.haml" do
    $files['subdirectory/ignore.html'].should == nil
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
stasis-0.2.0 spec/stasis/plugins/ignore_spec.rb
stasis-0.2.0.pre spec/stasis/plugins/ignore_spec.rb
stasis-0.1.23 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.22 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.21 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.20 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.19 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.18 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.17 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.16 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.15 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.14 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.13 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.12 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.11 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.10 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.9 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.8 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.7 spec/stasis/plugins/ignore_spec.rb
stasis-0.1.6 spec/stasis/plugins/ignore_spec.rb