Permalink
Browse files

Added test for configuration defaults

  • Loading branch information...
1 parent 1c51ffa commit 6180677b36badd9ce667ca9faf6c31028b150585 @stewart stewart committed Dec 7, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/lib/gitnesse/configuration_defaults_test.rb
@@ -0,0 +1,11 @@
+require_relative '../../test_helper'
+
+describe Gitnesse::Configuration do
+ describe "defaults" do
+ subject { Gitnesse::Configuration.new }
+ it { subject.branch.must_equal "master" }
+ it { subject.annotate_results.must_equal false }
+ it { subject.info.must_be_nil }
+ it { subject.target_directory.must_equal File.join(Dir.pwd, "features") }
+ end
+end

0 comments on commit 6180677

Please sign in to comment.