Permalink
Browse files

+ James test

  • Loading branch information...
1 parent a830035 commit 1a5b4ad0505aa7076c6aabf92602757e2afa72f3 @floere committed Jul 27, 2011
Showing with 18 additions and 0 deletions.
  1. +18 −0 test/unit/lib/james_test.rb
@@ -0,0 +1,18 @@
+# encoding: utf-8
+#
+require File.expand_path '../../../../lib/james', __FILE__
+
+require 'minitest/autorun'
+require 'minitest/unit'
+
+describe James do
+
+ describe 'with stubbed controller' do
+ describe 'listen' do
+ it 'can be called without options' do
+ James.listen
+ end
+ end
+ end
+
+end

0 comments on commit 1a5b4ad

Please sign in to comment.