Sha256: 4cebdba170fcf1c45eed8419c160a08f694c1cd6bbb3ffad1b883e1445b8aa7c
Contents?: true
Size: 476 Bytes
Versions: 2
Compression:
Stored size: 476 Bytes
Contents
require 'pushover' describe "application" do before(:each) do Pushover::Config.save_file = "test.save" Pushover::Config.clear end it "can add a application to the Config[:application] hash." do Pushover::App.add "bar", "foo" Pushover::Config[:applications]["foo"].should eq("bar") end it "can remove a application from the hash." it "can find the apikey from the name" do Pushover::App.add "bar", "foo" Pushover::App.find("foo").should eq("bar") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pushover-0.4.0 | spec/app_spec.rb |
pushover-0.3.1 | spec/app_spec.rb |