Sha256: 5647d6f701b5ab9b6c471d1d59d374054f525da68c65283976a8b9d2eb84885c

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

require 'spec_helper'

describe MobileIntent do
  describe MobileIntent, ".config" do
    it { expect(MobileIntent.config).to be_a MobileIntent::Config }
  end

  describe MobileIntent, ".setup" do
    it 'register app' do
      expect {
        MobileIntent.setup do
          register :my_app, :android => 'com.example.myapp', :ios => 'myapp_name'
        end
      }.to change { MobileIntent.config.has? :my_app }.from(false).to(true)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mobile_intent-0.0.1 spec/mobile_intent_spec.rb