Sha256: 150bb75fee7ce39461addb9123ea8bc80562df40de4812c6385048b9446b751d

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

shared_context 'subdirectories', :files => :subdirectories do

  before do
    file 'assets/application.js', <<-EOS
    // require templates/user
    EOS

    file 'assets/templates/user.js', <<-EOS
    // require templates/user/history
    // require templates/user/account
    EOS

    file 'assets/templates/user/history.js', <<-EOS
    var History = { }
    EOS

    file 'assets/templates/user/account.js', <<-EOS
    var Account = { }
    EOS
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
codependency-1.0.0 spec/support/subdirectories_context.rb