Sha256: 4469c6bb8eef52adb4106f76a0bb3c302bad32d24db88f0ccfb819e1119d1a26
Contents?: true
Size: 705 Bytes
Versions: 11
Compression:
Stored size: 705 Bytes
Contents
require 'spec_helper' describe 'App42::Command' do describe 'Info' do before(:all) do @app_name = 'demo' end context("with right app name") do it 'Should return correct app information json' do response = App42::Command::Base.new.app_information 'info', @app_name path = "#{APP_ROOT}/app42/spec/data/info.yml" info = YAML.load_file(path) response.should eql info end it 'Should return correct app state json' do response = App42::Command::Base.new.app_information 'state', @app_name path = "#{APP_ROOT}/app42/spec/data/state.yml" info = YAML.load_file(path) response.should eql info end end end end
Version data entries
11 entries across 11 versions & 1 rubygems