campaign_cash 1.1 → 1.2

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.
@@ -1,3 +1,3 @@
1
1
  module CampaignCash
2
- VERSION = "1.1"
2
+ VERSION = "1.2"
3
3
  end
@@ -62,15 +62,7 @@ class TestCampaignCash::TestCandidate < Test::Unit::TestCase
62
62
  assert (@candidates[2].end_cash >= @candidates[3].end_cash)
63
63
  end
64
64
  end
65
-
66
- context "request with missing cycle" do
67
- should "return an error" do
68
- assert_raise RuntimeError do
69
- Base.invoke('/candidates/new', {})
70
- end
71
- end
72
- end
73
-
65
+
74
66
  context "state candidates" do
75
67
  setup do
76
68
  @candidates = Candidate.state_chamber('RI', 'house', nil, 2010)
@@ -48,14 +48,6 @@ class TestCampaignCash::TestCommittee < Test::Unit::TestCase
48
48
  assert_kind_of(Committee, @committees.last)
49
49
  end
50
50
  end
51
-
52
- context "request with missing id" do
53
- should "return an error" do
54
- assert_raise RuntimeError do
55
- Base.invoke('2010/committees/', {})
56
- end
57
- end
58
- end
59
51
 
60
52
  context "committee filings" do
61
53
  setup do
@@ -64,8 +56,8 @@ class TestCampaignCash::TestCommittee < Test::Unit::TestCase
64
56
  @filings = results.map{|f| Filing.create_from_filings(f)}
65
57
  end
66
58
 
67
- should "return 10 filings" do
68
- assert_equal @filings.size, 10
59
+ should "return 20 filings" do
60
+ assert_equal @filings.size, 20
69
61
  end
70
62
  end
71
63
 
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: campaign_cash
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 1
9
- version: "1.1"
8
+ - 2
9
+ version: "1.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Derek Willis
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-05-14 00:00:00 -04:00
17
+ date: 2011-05-15 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency