# File test/test_repository.rb, line 96
 96:         def test_env
 97:             repo = Repository::Repository.new @repo_dir
 98:         
 99:             repo["setting"] = "something"
100:             res = repo["setting"]
101:             assert_equal res, "something", "Repository didn't properly store a variable in env"
102:             
103:             # there is a weird bug that pops up where changing an empty path doesn't happen
104:             repo['Path'] = []
105:             path = repo['Path']
106:             assert path.empty?, "Path was not empty when it should be"
107:             
108:             repo['Path'] = repo['Path'] << 'TEST'
109:             path = repo['Path']
110:             assert_equal 1, path.length, "Path did not have one element"
111:             assert_equal 'TEST', path.pop, "Path element didn't match expected"
112:             
113:         end