Re: [rspec-users] isolating controller tests from models

2012-03-30 Thread Justin Ko
On Mar 30, 2012, at 11:11 PM, Fearless Fool wrote: > This is a rehash of a question I posed at: > http://stackoverflow.com/questions/9952317/isolating-controller-tests-from-models > The basic question: If I have a FoosController and a Foo model, can I > run FoosController rspec tests without crea

[rspec-users] isolating controller tests from models

2012-03-30 Thread Fearless Fool
This is a rehash of a question I posed at: http://stackoverflow.com/questions/9952317/isolating-controller-tests-from-models The basic question: If I have a FoosController and a Foo model, can I run FoosController rspec tests without creating the foos database table? I haven't found a good way t

Re: [rspec-users] validating if a cell has any of the options.

2012-03-30 Thread Justin Ko
On Mar 30, 2012, at 10:52 AM, Hillary Hueter wrote: > > The example as it exists today: >it "should show all applications" do > I.new do |c| > c.login_flow(:userid => $support, :password => $password) ## Logs in > c.manage_application_page.filter.when_present.flash >

Re: [rspec-users] validating if a cell has any of the options.

2012-03-30 Thread Hillary Hueter
The example as it exists today: it "should show all applications" do I.new do |c| c.login_flow(:userid => $support, :password => $password) ## Logs in c.manage_application_page.filter.when_present.flash c.manage_application_page.filter.when_present.select_value("All")