Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added test for configuration defaults

  • Loading branch information...
commit 6180677b36badd9ce667ca9faf6c31028b150585 1 parent 1c51ffa
@stewart stewart authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/lib/gitnesse/configuration_defaults_test.rb
View
11 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
Please sign in to comment.
Something went wrong with that request. Please try again.