2008-02-20
遇到问题
关键字: rails test
我练习测试一个字段为整数时,遇到如下问题,不知道是哪的原因!
1) Failure:
test_integer_field(ItouchServiceTest)
[test/unit/itouch_service_test.rb:32:in `test_integer_field'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/testi
ng/default.rb:7:in `run']:
<"鐣欒█娆℃暟蹇呴』涓烘暣鏁帮紒"> expected but was
<nil>.
1 tests, 2 assertions, 1 failures, 0 errors
急用!
1) Failure:
test_integer_field(ItouchServiceTest)
[test/unit/itouch_service_test.rb:32:in `test_integer_field'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/testi
ng/default.rb:7:in `run']:
<"鐣欒█娆℃暟蹇呴』涓烘暣鏁帮紒"> expected but was
<nil>.
1 tests, 2 assertions, 1 failures, 0 errors
急用!
发表评论
提醒: 该博客已发表在公共论坛,博客所有留言会成为论坛回贴,留言请注意遵守论坛发贴规则
- 浏览: 1329 次
- 性别:

- 来自: 上海

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
关于if xx.save的问题
不是有很多高手吗?怎么没人解答啊,也得照顾照顾我们这些小虾吧!郁闷!
-- by 张云洁 -
关于if xx.save的问题
请大家看以下!
-- by 张云洁 -
集成测试
看一下日志应该可以知道是怎么回事rails添加了外部表单提交保护功能,没有aut ...
-- by aotianlong -
路由测试问题
assert_generates("/members/regist",pts) ...
-- by aotianlong -
集成测试
没有人知道吗?
-- by 张云洁






评论排行榜