Rename Selectricity API calls to more explicitly call itself quickvotes.
[selectricity] / test / functional / graph_controller_test.rb
index e5c279008339815d1aa9835a3fdcb2f57a33025b..f9d4392242d22ab736f0d74e63ea90bb18b94145 100644 (file)
@@ -102,7 +102,7 @@ class GraphControllerTest < Test::Unit::TestCase
 
   private
   def make_election
-    e=ElectionStruct.new( :name => "test", :description => "This is a test",
+    e=QuickVoteStruct.new( :name => "test", :description => "This is a test",
                           :candidate_names => ['choice1', 'choice2', 'choice3'])
     @SS.create_quickvote e
     @election = @SS.list_quickvotes[0]

Benjamin Mako Hill || Want to submit a patch?