Project

General

Profile

« Previous | Next » 

Revision f34463c4

Added by Paul Kelly almost 14 years ago

  • ID f34463c46a5e1f132e9c5d1cc396e866ada0cec4

Fixes #256 - Environment names should be alphanumeric

View differences:

test/unit/environment_test.rb
assert !env.valid?
end
test "name should be alphanumeric" do
env = Environment.new :name => "test&fail"
assert !env.valid?
end
test "to_label should print name" do
env = Environment.new :name => "foo"
assert env.to_label == env.name

Also available in: Unified diff