Sha256: a79268e8fda6ed627fc61fab24118f408c510f6acc80445c522a8e9725c2daca
Contents?: true
Size: 855 Bytes
Versions: 4
Compression:
Stored size: 855 Bytes
Contents
require 'spec_helper' describe FiveMobilePush do describe '.api_token' do it "sets the api_token" do subject.api_token = "random_key" subject.api_token.should == "random_key" end end describe '.application_uid' do it "sets the application_uid" do subject.application_uid = 'nulayer' subject.application_uid.should == 'nulayer' end end describe 'configure' do FiveMobilePush::VALID_OPTION_KEYS.each do |key| it "sets the key #{key}" do FiveMobilePush.configure do |config| config.send("#{key}=", key) end FiveMobilePush.send(key).should == key end end end describe 'platforms' do %w(iphone blackberry android).each do |platform| specify { FiveMobilePush::SUPPORTED_PLATFORMS.should include(platform) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems