spec/support/subdirectories_context.rb in codependency-0.3.1 vs spec/support/subdirectories_context.rb in codependency-1.0.0
- old
+ new
@@ -1,21 +1,21 @@
shared_context 'subdirectories', :files => :subdirectories do
before do
- file 'application.js', <<-EOS
+ file 'assets/application.js', <<-EOS
// require templates/user
EOS
- file 'templates/user.js', <<-EOS
+ file 'assets/templates/user.js', <<-EOS
// require templates/user/history
// require templates/user/account
EOS
- file 'templates/user/history.js', <<-EOS
+ file 'assets/templates/user/history.js', <<-EOS
var History = { }
EOS
- file 'templates/user/account.js', <<-EOS
+ file 'assets/templates/user/account.js', <<-EOS
var Account = { }
EOS
end
end