Sha256: 0d8aae6d1ce89227f2bddeb7120fa8e6d5a4f8777e855aa95c5f72f2dfa3aeaf

Contents?: true

Size: 345 Bytes

Versions: 26

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'

describe Stasis::Helpers do

  before(:all) do
    generate
  end
  
  it "should display the helper in index.html" do
    $files['index.html'].should =~ /helpers\nroot/
  end

  it "should display the helper in subdirectory/index.html" do
    $files['subdirectory/index.html'].should =~ /helpers\nsubdirectory/
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
stasis-0.1.5 spec/stasis/plugins/helpers_spec.rb
stasis-0.1.4 spec/stasis/plugins/helpers_spec.rb
stasis-0.1.3 spec/stasis/plugins/helpers_spec.rb
stasis-0.1.2 spec/stasis/plugins/helpers_spec.rb
stasis-0.1.1 spec/stasis/plugins/helpers_spec.rb
stasis-0.1.0 spec/stasis/plugins/helpers_spec.rb