lib/boty/cli.rb in boty-0.0.3 vs lib/boty/cli.rb in boty-0.0.4
- old
+ new
@@ -14,9 +14,11 @@
def new(bot_name)
@bot_name = bot_name
acquire_bot_info bot_name
directory "project", bot_name, verbose: verbose
inside bot_name do
+ # for some reason the example .rspec isn't been copied
+ create_file ".rspec", "--require=spec_helper"
run "chmod +x bot"
end
end
private