Sha256: e9a4d02dca3e1b52888a3130dde725b54e401f05aab969954aeb46ab83e4a58f
Contents?: true
Size: 865 Bytes
Versions: 1
Compression:
Stored size: 865 Bytes
Contents
require 'spec_helper' describe PhoneGap::Build::App do it 'has a PATH of "apps"' do expect(subject.class.const_get('PATH')).to eq '/apps' end describe 'creatable attributes' do subject { PhoneGap::Build::App } %w(title create_method package version description debug keys private phonegap_version hydrates).each do |attribute| it "'#{attribute}' is updatable" do expect(subject.class_variable_get('@@creatable_attributes')[subject]).to include "@#{attribute}" end end end describe 'updatable attributes' do subject { PhoneGap::Build::App } %w(title package version description debug private phonegap_version).each do |attribute| it "'#{attribute}' is updatable" do expect(subject.class_variable_get('@@updatable_attributes')[subject]).to include "@#{attribute}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phone_gap-build-0.2.0 | spec/phone_gap/build/app_spec.rb |