Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Running Models Spec Task
...........................................................................................................................................................................................................................................
1)
'Page#find_by_url should find a custom file not found page' FAILED
expected: #<CustomFileNotFoundPage id: 444134792, title: "No Picture", slug: "no-picture", breadcrumb: "No Picture", class_name: "CustomFileNotFoundPage", status_id: 100, parent_id: 222566307, layout_id: nil, created_at: "2009-05-07 10:01:07", updated_at: "2009-05-07 10:01:07", published_at: "2009-05-07 11:01:07", created_by_id: nil, updated_by_id: nil, virtual: false, lock_version: 0, description: nil, keywords: nil>,
got: #<FileNotFoundPage id: 30993517, title: "File Not Found", slug: "missing", breadcrumb: "File Not Found", class_name: "FileNotFoundPage", status_id: 100, parent_id: 516519628, layout_id: nil, created_at: "2009-05-07 10:01:07", updated_at: "2009-05-07 10:01:07", published_at: "2009-05-07 11:01:07", created_by_id: nil, updated_by_id: nil, virtual: false, lock_version: 0, description: nil, keywords: nil> (using ==)
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/expectations.rb:57:in `fail_with'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/matchers/operator_matcher.rb:60:in `__delegate_operator'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/matchers/operator_matcher.rb:51:in `eval_match'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/matchers/operator_matcher.rb:29:in `=='
~/_gems/radiant/spec/models/page_spec.rb:425:
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/example/example_methods.rb:37:in `instance_eval'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/example/example_methods.rb:37:in `execute'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:48:in `timeout'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/example/example_methods.rb:34:in `execute'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/example/example_group_methods.rb:208:in `execute_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/example/example_group_methods.rb:206:in `each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/example/example_group_methods.rb:206:in `execute_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/example/example_group_methods.rb:104:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/example_group_runner.rb:23:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/example_group_runner.rb:22:in `each'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/example_group_runner.rb:22:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/options.rb:117:in `run_examples'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/command_line.rb:9:in `run'
/Library/Ruby/Gems/1.8/gems/rspec-1.2.2/bin/spec:4:
Finished in 27.368378 seconds
371 examples, 1 failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment