Skip to content

Commit

Permalink
Adding additional Config test.
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydreier committed Jul 12, 2011
1 parent 4fa0170 commit d2295bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/configuration_test.rb
Expand Up @@ -14,4 +14,11 @@ def test_loads_config_file
assert config.type
end

def test_throws_error_with_invalid_user_type
config = GithubBackup::Configuration.new
assert_raise ArgumentError do
config.user_type = 'something weird'
end
end

end

0 comments on commit d2295bb

Please sign in to comment.