Sha256: 69431a222da5e5301259e34bb9cf78c8510ef48d97b4ea9d2940ecba7dd62bac
Contents?: true
Size: 699 Bytes
Versions: 3
Compression:
Stored size: 699 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 respone = App42::Command::Base.new.app_information 'info', @app_name path = "#{APP_ROOT}/app42/spec/data/info.yml" info = YAML.load_file(path) respone.should eql info end it 'Should return correct app state json' do respone = App42::Command::Base.new.app_information 'state', @app_name path = "#{APP_ROOT}/app42/spec/data/state.yml" info = YAML.load_file(path) respone.should eql info end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
app42-0.5.5 | spec/app42/command/info_spec.rb |
app42-0.5.4 | spec/app42/command/info_spec.rb |
app42-0.5.3 | spec/app42/command/info_spec.rb |