Permalink
Browse files

test sessions method is in the right place by calling process_iteration

  • Loading branch information...
nutrun committed Jun 5, 2012
1 parent 1bd4467 commit 4e159b7e01d5d911f8aa04de9cb639d84023e859
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/shell_test.rb
View
@@ -79,8 +79,8 @@ def test_normal_command_gets_processed_by_exec_command
end
end
- def test_sessions
- assert_equal(0, @shell.send(:sessions).size)
+ def test_can_access_its_sessions
+ assert_nothing_raised(Exception) { @shell.process_iteration }
end
private

0 comments on commit 4e159b7

Please sign in to comment.