Sha256: dc2820c1c75d567e0707eacd9f17e87e7893101367a0155e0c643e8d0ace5580

Contents?: true

Size: 614 Bytes

Versions: 60

Compression:

Stored size: 614 Bytes

Contents

require 'helper'

module Nutella

  class TestCommandTemplate < MiniTest::Test

    # 1. Create a fake app
    # New.new.run ['test_app']
    # Dir.chdir 'test_app'
    # Nutella::Install.new.run ['basic-ruby-bot', 'bot1']
    # Dir.chdir '..'

    # 2. Perform tests
    # should 'this is my first test' do
    #   Dir.chdir 'test_app'
    #   # Test code here
    #   Dir.chdir '..'
    # end
    #
    # should 'this is my second test' do
    #   Dir.chdir 'test_app'
    #   # Test code here
    #   Dir.chdir '..'
    # end

    # 3. Cleanup
    # MiniTest.after_run { FileUtils.rm_r 'test_app' }

  end

end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
nutella_framework-0.9.2 test/commands/test_command_template.rb
nutella_framework-0.9.1 test/commands/test_command_template.rb
nutella_framework-0.9.0 test/commands/test_command_template.rb
nutella_framework-0.8.0 test/commands/test_command_template.rb
nutella_framework-0.7.3 test/commands/test_command_template.rb
nutella_framework-0.7.2 test/commands/test_command_template.rb
nutella_framework-0.7.1 test/commands/test_command_template.rb
nutella_framework-0.7.0 test/commands/test_command_template.rb
nutella_framework-0.6.21 test/commands/test_command_template.rb
nutella_framework-0.6.20 test/commands/test_command_template.rb
nutella_framework-0.6.19 test/commands/test_command_template.rb
nutella_framework-0.6.18 test/commands/test_command_template.rb
nutella_framework-0.6.17 test/commands/test_command_template.rb
nutella_framework-0.6.16 test/commands/test_command_template.rb
nutella_framework-0.6.15 test/commands/test_command_template.rb
nutella_framework-0.6.13 test/commands/test_command_template.rb
nutella_framework-0.6.12 test/commands/test_command_template.rb
nutella_framework-0.6.11 test/commands/test_command_template.rb
nutella_framework-0.6.10 test/commands/test_command_template.rb
nutella_framework-0.6.9 test/commands/test_command_template.rb