test/unit/config_file_tests.rb in qs-0.6.1 vs test/unit/config_file_tests.rb in qs-0.7.0
- old
+ new
@@ -13,11 +13,11 @@
should have_readers :daemon
should have_imeths :run
should "know its daemon" do
- assert_instance_of AppDaemon, subject.daemon
+ assert_instance_of ConfigFileTestDaemon, subject.daemon
end
should "define constants in the file at the top-level binding" do
assert_not_nil defined?(::TestConstant)
end
@@ -33,10 +33,10 @@
config_file = nil
assert_nothing_raised do
config_file = Qs::ConfigFile.new(file_path)
end
- assert_instance_of AppDaemon, config_file.daemon
+ assert_instance_of ConfigFileTestDaemon, config_file.daemon
end
should "raise no config file error when the file doesn't exist" do
assert_raises(NoConfigFileError) do
Qs::ConfigFile.new(Factory.file_path)