lib/generators/oojs/spec/spec_generator.rb in oojs-0.1.0 vs lib/generators/oojs/spec/spec_generator.rb in oojs-0.1.1

- old
+ new

@@ -6,9 +6,13 @@ def create_spec template 'spec.js.coffee.erb', "spec/javascripts/#{file_name}_spec.js.coffee" end + def create_spec_main + template 'spec_main.js.coffee.erb', "spec/javascripts/#{file_name}/main.js.coffee" + end + def create_fake_ajax_server template 'fake_ajax_server.js.coffee.erb', "spec/javascripts/#{file_name}/fake_server.js.coffee" end private