Sha256: 9e9d6d3b6e10eac0728d85d7cdc50ac693164f794f734b99f33b131e7553d9fc
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
require 'spec_helper' describe MobileIntent::Config do let(:config) { described_class.new } subject { config } before { config.send(:register, :app_name, :andorid => 'com.example.app') } describe :register do it { expect(config.send(:register, :app_name)).to be_a MobileIntent::Application } it { expect(config).to have(1).apps } end describe :has? do it { expect(subject).to be_has :app_name } it { expect(subject).not_to be_has :other_app } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mobile_intent-0.0.1 | spec/mobile_intent/config_spec.rb |