Sha256: f5737ff9bd38d30b47bc956bbecb8e79d096189323eb878897dcc709ecb548fa
Contents?: true
Size: 433 Bytes
Versions: 3
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper_acceptance' describe "Managing Alerts", :acceptance => true do include_context "credentials" it "returns a list of alerts" do account.alerts.should be_a(Enumerable) end it "creates and deletes an alert" do alert = Mention::Alert.new(name: 'mention-api', primary_keyword: 'mention-api', required_keywords: ['ruby','gem']) alert = account.add(alert) alert.remove_from(account) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mention-api-0.1.0 | spec/acceptance/alert_management_spec.rb |
mention-api-0.0.3 | spec/acceptance/alert_management_spec.rb |
mention-api-0.0.2 | spec/acceptance/alert_management_spec.rb |