Sha256: 0e9fad1d9b48f9181376ff0ca1586b70c38cd0dae0bb799248d0bdcc092bf5bf

Contents?: true

Size: 1008 Bytes

Versions: 16

Compression:

Stored size: 1008 Bytes

Contents

# require 'dotenv'
# require 'fileutils'
# require 'pathname'
# require 'yaml'
# require_relative '../lib/generators/common_generator'
# require_relative '../lib/commands/open_ai_commands'
# require_relative '../lib/scaffolding/scaffolding'
# require_relative 'spec_helper'
#
# describe OpenAiCommands do
#   let(:open_ai) { described_class }
#   let(:name) { 'test' }
#
#   orig_dir = Dir.pwd
#   Dotenv.load
#
#   after do
#     Dir.chdir orig_dir
#   end
#
#   context 'without any project' do
#     after do
#       FileUtils.rm_rf('joke.txt')
#     end
#
#     # TODO: Enable test once the paid account is setup
#     # it 'creates a file using open ai' do
#     #   open_ai.new.invoke(:make, nil, ['tell me a joke', '--path', 'joke.txt'])
#     #   expect(File).to be_size('joke.txt')
#     # end
#
#     # it 'edits an existing file using open ai' do
#     # FileUtils.touch('joke.txt')
#     # open_ai.new.invoke(:make, nil, ['tell me a better joke', '--edit', 'joke.txt'])
#     # end
#   end
# end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_raider-0.8.5 spec/open_ai_commands_spec.rb
ruby_raider-0.8.3 spec/open_ai_commands_spec.rb
ruby_raider-0.8.2 spec/open_ai_commands_spec.rb
ruby_raider-0.8.1 spec/open_ai_commands_spec.rb
ruby_raider-0.8.0 spec/open_ai_commands_spec.rb
ruby_raider-0.7.9 spec/open_ai_commands_spec.rb
ruby_raider-0.7.8 spec/open_ai_commands_spec.rb
ruby_raider-0.7.7 spec/open_ai_commands_spec.rb
ruby_raider-0.7.6 spec/open_ai_commands_spec.rb
ruby_raider-0.7.5 spec/open_ai_commands_spec.rb
ruby_raider-0.7.4 spec/open_ai_commands_spec.rb
ruby_raider-0.7.3 spec/open_ai_commands_spec.rb
ruby_raider-0.7.2 spec/open_ai_commands_spec.rb
ruby_raider-0.7.1 spec/open_ai_commands_spec.rb
ruby_raider-0.7.0 spec/open_ai_commands_spec.rb
ruby_raider-0.6.9 spec/open_ai_commands_spec.rb