alfred-workflow 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
metadata.gz.sig ADDED
Binary file
data/.travis.yml DELETED
@@ -1,19 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.8.7
4
- - 1.9.2
5
- - 1.9.3
6
- - 2.0.0
7
- - ruby-head
8
- - ree
9
- - jruby-18mode
10
- - jruby-19mode
11
- - jruby-head
12
- - rbx-18mode
13
- - rbx-19mode
14
- branches:
15
- only:
16
- - master
17
- notifications:
18
- recipients:
19
- - caizhaoff@gmail.com
@@ -1,33 +0,0 @@
1
- require "spec_helper"
2
-
3
- describe "Feedback" do
4
-
5
- before :all do
6
- @feedback = Alfred::Feedback.new
7
-
8
- @item_elements = %w{title subtitle icon}
9
- @item_attributes = %w{uid arg autocomplete}
10
- end
11
-
12
- it "should create a basic XML response" do
13
- @feedback.add_item(:uid => "uid" ,
14
- :arg => "arg" ,
15
- :autocomplete => "autocomplete" ,
16
- :title => "Title" ,
17
- :subtitle => "Subtitle")
18
-
19
- xml_data = <<-END.strip_heredoc
20
- <?xml version="1.0"?>
21
- <items>
22
- <item valid="yes" arg="arg" autocomplete="autocomplete" uid="uid">
23
- <title>Title</title>
24
- <subtitle>Subtitle</subtitle>
25
- <icon>icon.png</icon>
26
- </item>
27
- </items>
28
- END
29
-
30
- compare_xml(xml_data, @feedback.to_xml).should == true
31
- end
32
-
33
- end