search for: rspec_modul

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

Did you mean: rspec_model
2007 Aug 22
1
Can Rspec do module spec? What if module uses test data?
Dear fellows: I am currently working on writing specs on some ruby modules(e.g. myModule). At first I try to use script/generate to generate rspec_module, but it failed. :-( Later I manually created a file (e.g. named myModule_spec.rb) and put the ''require ....spec_helper.rb'' as the first line of code followed by ''describe'' block. Luckily, it seemed to be working. But it was not likely to be a logical way to...