Skip to content

Commit

Permalink
Fixed testsuite for adjtime
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Aug 1, 2012
1 parent 1fe0311 commit c400e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config_agent-country/test/test_adjtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ def setup
end

def test_no_file
file = ConfigAgent::Adjtime.new( :root_dir => @data_dir + "/tmp", :include => LENSES_DIR) )
file = ConfigAgent::Adjtime.new( :root_dir => @data_dir + "/tmp", :include => LENSES_DIR)
adjtime = file.read({})
assert_equal Hash.new, adjtime
end

def test_reading
file = ConfigAgent::Adjtime.new( :root_dir => @data_dir, :include => LENSES_DIR) )
file = ConfigAgent::Adjtime.new( :root_dir => @data_dir, :include => LENSES_DIR)
adjtime = file.read({})
assert_equal "LOCAL", adjtime["3"]
end
Expand Down

0 comments on commit c400e61

Please sign in to comment.