search for: yourmoney

Displaying 4 results from an estimated 4 matches for "yourmoney".

Did you mean: yourmodel
2007 Jun 27
2
Controller specs not shareable?
...ue do controller_name :gap # ... end describe "XHR POST /gap/calculate_quote with valid details" do it_should_behave_like "All XHR POSTs to /gap/calculate_quote" # ... end blows up with the following error: ########## /Users/ashleymoran/Documents/Development/YourMoney/trunk/src/vendor/ plugins/rspec/lib/spec/dsl/behaviour_eval.rb:137:in `method_missing'': undefined method `controller_name'' for # (NoMethodError) from ./spec/ controllers/gap_controller_spec.rb:165 from /Users/ashleymoran/ Documents/Development/YourMoney/trunk/src/vendor/plugi...
2007 Jun 15
2
Is it still possible to use should_have_rjs
...lator, fixed the cases where it barfed on unusual line contents, and all my model and controller specs now pass. But I''m getting 53 failures on my view specs, all along the lines of: should have visual effect Unknown RJS statement type effect /Users/ashleymoran/Documents/Development/YourMoney/trunk/src/spec/ views/admin/add_dealer_rjs_view_spec.rb:33 31 32 it "should have visual effect" do 33 response.should have_rjs(:effect, :blind_down, "add_dealer") 34 end 35 I''m trying to revert these to should_have_rjs but I''ve looked through the RSpec...
2007 Aug 21
1
Render template not matching absolute path
...hat it renders the gap.rcss file, but my spec, it "should render the gap.rcss template" do do_get response.should render_template("gap.rcss") end fails with this error: Expected "gap.rcss", got "/Users/ashleymoran/Documents/Development/ YourMoney/trunk/src/config/../app/views/stylesheets/gap.rcss" I don''t remember this failing in 1.0.5, but it''s been a while since I worked on this project so might be just be my bad memory. Am I doing something wrong or can you not spec "render :file" with render_templa...
2007 May 01
2
Problem validating boolean
...end end end The first two expectations (true and false should be valid values) pass but it fails on this error: should be invalid if linked_to_residual_value_of_asset is not true or false expected valid? to return false, got true /Users/ashleymoran/Documents/Development/YourMoney/trunk/src/spec/ models/finance_agreement_spec.rb:65: (I cut some specs out, line 65 is "@finance_agreement.should_not be_valid") Any idea why 1 makes the model valid? The only thing I can find that makes it (correctly) invalid is nil. Thanks Ashley --~--~---------~--~----~------...