Sha256: 40b6420126454592d0439cad214199168f8fe9f9ade74a64ae671b7a6bd770e0

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

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

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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