picky 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,24 @@ describe Indexed::Category do
20
20
  @category.stub! :exclaim
21
21
  end
22
22
 
23
+ describe 'generate_qualifiers_from' do
24
+ context 'with qualifiers' do
25
+ it 'returns that' do
26
+ @category.generate_qualifiers_from(:qualifiers => [:a, :b]).should == [:a, :b]
27
+ end
28
+ end
29
+ context 'without anything' do
30
+ it 'returns that' do
31
+ @category.generate_qualifiers_from({}).should == nil
32
+ end
33
+ end
34
+ context 'with qualifier' do
35
+ it 'returns that' do
36
+ @category.generate_qualifiers_from(:qualifier => :a).should == [:a]
37
+ end
38
+ end
39
+ end
40
+
23
41
  describe 'weight' do
24
42
  before(:each) do
25
43
  @token = stub :token, :text => :some_text
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 12
8
- - 0
9
- version: 0.12.0
8
+ - 1
9
+ version: 0.12.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Florian Hanke
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-23 00:00:00 +01:00
17
+ date: 2010-11-24 00:00:00 +01:00
18
18
  default_executable: picky
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency