search for: doc_spec

Displaying 1 result from an estimated 1 matches for "doc_spec".

Did you mean: declspec
2008 Dec 17
1
My first rspec reports "undefined method `key?' for #<String:0x46b1df0>"
...@doc=docs(:yjn_bjy) end it "should create a new instance given valid attributes" do true end end <----------------------------------------------------------------------------------------------------------------------------------------- after run "spec -fs spec\models\doc_spec.rb" at cmd line,it report this error ----------------------------------------------------------------------------------------------------------------------------------------- > 1) NoMethodError in ''Doc should create a new instance given valid attributes'' undefined method `...