Sha256: 6f697bafbdeb8a5aa8679c398edd054dbfab2e1432f08b13df9ddf7a6272c78b

Contents?: true

Size: 871 Bytes

Versions: 60

Compression:

Stored size: 871 Bytes

Contents

require 'helper'

module Nutella
  
  class TestCurrentAppUtils < MiniTest::Test

    # def setup
    #   Dir.chdir NUTELLA_HOME
    #   Nutella.execute_command( 'new', ['test_app'] )
    #   Dir.chdir "#{NUTELLA_HOME}test_app"
    # end
    #
    #
    # should 'return true if the dir is a nutella app' do
    #   assert Nutella.current_app.exist?
    # end
    #
    # should 'return false if the dir is not a nutella app' do
    #   Dir.chdir NUTELLA_HOME
    #   refute Nutella.current_app.exist?
    # end
    #
    # should 'return the correct version of nutella as read from the app configuration file' do
    #   assert_equal File.open("#{NUTELLA_HOME}VERSION", "rb").read, Nutella.current_app.config['nutella_version']
    # end
    #
    #
    # def teardown
    #   FileUtils.rm_rf "#{NUTELLA_HOME}test_app"
    #   Dir.chdir NUTELLA_HOME
    # end

  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

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