search for: example_rails_app

Displaying 5 results from an estimated 5 matches for "example_rails_app".

2007 Apr 17
8
problem with rspec_on_rails and @controller.should_receive(:render) in trunk
...end and the controller: def new render :layout=>false end I would have loved to create a failing testcase for this, but I couldnt get the rspec test suite running, if i do a simple "rake" in the root rspec directory i get this error: (in /Users/christophsturm/Projects/rspec/example_rails_app) ** Invoke pre_commit (first_time) ** Execute pre_commit ##################################################### running pre_commit against rails edge ##################################################### ##################################################### ruby script/generate rspec_resource purcha...
2007 Jul 26
5
Coding standards and whitespace
...tors/textmate.page doc/src/documentation/tools/heckle.page doc/src/documentation/tools/index.page doc/src/documentation/tools/rake.page doc/src/documentation/tools/rcov.page doc/src/documentation/tools/spec.page doc/src/download.page doc/src/images/ducks1.png doc/src/index.page doc/src/upgrade.page example_rails_app/app/controllers/naughty_controller.rb example_rails_app/app/controllers/people_controller.rb example_rails_app/app/helpers/people_helper.rb example_rails_app/app/models/person.rb example_rails_app/config/boot.rb example_rails_app/config/environment.rb example_rails_app/config/environments/test.rb e...
2007 Apr 09
10
changes in 0.8 and greater - should_
Has the should_... syntax changed? I''m getting errors when running the following: should_render(:index) should_be_valid should_not_be_valid should_respond_to should_be should_render I thought the syntax changed to something like the following: obj.should render(:index) but this doesn''t seem to work. Scott
2007 Jul 31
11
helper spec not finding rails core helpers
Hi, My helper specs were going ok until I added a call to a rails DateHelper method in one of my helpers http://api.rubyonrails.com/classes/ActionView/Helpers/ DateHelper.html#M000574 The helper runs fine from my view templates, just dies in the spec test. I boiled my question down to a simple (not too useful) example. I''m not sure what I''m missing. #
2007 Apr 11
5
Default exclude pattern in 0.9.0
The "rspec" rake task collects all _spec files in the spec directory, and excludes the "watir" directory. Is this indicating a preference for using Watir over Selenium? I would like it better to standardize on something more neutral, ''ui'' perhaps? /Marcus -- Marcus Ahnve http://marcus.ahnve.net