test/unit/config_tests.rb in assert-2.5.0 vs test/unit/config_tests.rb in assert-2.6.0
- old
+ new
@@ -11,11 +11,12 @@
subject{ @config }
should have_imeths :suite, :view, :runner
should have_imeths :test_dir, :test_helper, :test_file_suffixes, :runner_seed
should have_imeths :changed_proc, :pp_proc, :use_diff_proc, :run_diff_proc
- should have_imeths :capture_output, :halt_on_fail, :changed_only, :pp_objects, :debug
+ should have_imeths :capture_output, :halt_on_fail, :changed_only, :pp_objects
+ should have_imeths :debug, :profile
should have_imeths :apply
should "default the view, suite, and runner" do
assert_kind_of Assert::View::DefaultView, subject.view
assert_kind_of Assert::Suite, subject.suite
@@ -40,9 +41,10 @@
assert_not subject.capture_output
assert subject.halt_on_fail
assert_not subject.changed_only
assert_not subject.pp_objects
assert_not subject.debug
+ assert_not subject.profile
end
should "apply settings given from a hash" do
assert subject.halt_on_fail
subject.apply(:halt_on_fail => false)