Skip to content
This repository
Browse code

Merge branch 'master' of github.com:canonical-hackers/marvin

  • Loading branch information...
commit 4125eab9458c2fa8258d14d56ef80cc8b1e0a8ce 2 parents ad6769d + baeaec3
Paul Visscher authored July 02, 2012
12  spec/helpers.rb
@@ -19,3 +19,15 @@ def fake_bot
19 19
 def rand_string(size=16)
20 20
   (1..size).collect { (i = Kernel.rand(62); i += ((i < 10) ? 48 : ((i < 36) ? 55 : 61 ))).chr }.join
21 21
 end
  22
+
  23
+module Cinch
  24
+  module Plugin
  25
+    def initialize(opts = {})
  26
+      @bot = fake_bot 
  27
+      @handlers = []
  28
+      @timers   = []
  29
+      # Lets try not initing the bot 
  30
+      # __register
  31
+    end
  32
+  end
  33
+end
2  spec/magic_spec.rb
@@ -34,7 +34,7 @@
34 34
         should be_nil 
35 35
     end
36 36
 
37  
-    describe 'Invalid Data Handling' do
  37
+    describe 'Invalid ' do
38 38
       it 'should return an error string when querying for text for invalid data' do 
39 39
         @plugin.get_card_text(rand_string).
40 40
           should == 'Error finding this card\'s description.'

0 notes on commit 4125eab

Please sign in to comment.
Something went wrong with that request. Please try again.