Sha256: 410d47728e54a5eb24b6c64d46acc523d6dcfcaef568c71302859d721a2908ce

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

require 'helper'

module Nutella
  class TestNutellaFramework < MiniTest::Test
    
    def setup
      Nutella.init
    end
    
    # The test works but it takes to long to run it all the time
    # should "install remote interface template correctly" do
#       Dir.chdir NUTELLA_HOME
#       prj_dir = "#{Dir.pwd}/test_prj"
#       # create new project and cs into it
#       Nutella.executeCommand "new", ["test_prj"]
#       Dir.chdir prj_dir
#       Nutella.executeCommand "install", ["basic-web-interface"]
#       # Cleanup
#       Dir.chdir NUTELLA_HOME
#       FileUtils.rm_rf prj_dir
#     end    
    
    
    def teardown
      Nutella.config.send(:removeConfigFile)
    end
    
  end
end
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nutella_framework-0.1.2 test/test_nutella_framework.rb