search for: customer_spec

Displaying 2 results from an estimated 2 matches for "customer_spec".

2007 Sep 07
4
fixtures in before(:all)
...one = customers(:one) end # ... As a result, I got this message: 1) NoMethodError in ''Customer xml before(:all)'' You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.[] ./spec/models/customer_spec.rb:86: script/spec:4: If I convert it to before(:each) or simply before, it works just fine. describe "Customer", "xml" do fixtures :customers before do one = customers(:one) end # ... By design? bug? PEBKAC? Anyone else hit this? - Geoffrey -- Geoffrey...
2007 Oct 05
0
RSpec Trunk - Successful : Rake Aborted
...controllers/player_containers_controller_spec.rb" "spec/controllers/user_groups_controller_spec.rb" "spec/controllers/player_bits_controller_spec.rb" "spec/controllers/customers_controller_spec.rb" "spec/models/player_container_spec.rb" "spec/models/customer_spec.rb" "spec/models/log_spec.rb" "spec/models/organization_spec.rb" "spec/models/unicode_spec.rb" "spec/models/asset_management_spec.rb" "spec/models/player_bit_spec.rb" "spec/selenium/ng70_selenium_spec.rb" "spec/shared/audited_spe...