Created
September 12, 2010 23:40
-
-
Save elcontrastador/576613 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test_resuls.yml | |
<% sourcexml = "" %> | |
<% File.open('../../lib/test_data/trpe.xml').each_line {|l| sourcexml += l} %> | |
passing_test_example: | |
xmlsource: <%= sourcexml.safe_html %> | |
# test output from TestResults unit test | |
1) Error: | |
test: A TestResult instance should respond to method xmlsource and xmlsource=. (TestResultTest): | |
Fixture::FormatError: a YAML error occurred parsing /Users/tyler/0-repos/planB/ctr/test/fixtures/test_results.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Please have a look at http://www.yaml.org/faq.html | |
The exact error was: | |
ArgumentError: syntax error on line 11, col 0: `<TestResult> ' | |
method rescue in parse_yaml_string in fixtures.rb at line 761 | |
method parse_yaml_string in fixtures.rb at line 759 | |
method read_yaml_fixture_files in fixtures.rb at line 713 | |
method read_fixture_files in fixtures.rb at line 698 | |
method initialize in fixtures.rb at line 559 | |
method new in fixtures.rb at line 519 | |
method block (3 levels) in create_fixtures in fixtures.rb at line 519 | |
method map in fixtures.rb at line 518 | |
method block (2 levels) in create_fixtures in fixtures.rb at line 518 | |
method disable_referential_integrity in abstract_adapter.rb at line 104 | |
method block in create_fixtures in fixtures.rb at line 515 | |
method silence in benchmarkable.rb at line 55 | |
method create_fixtures in fixtures.rb at line 514 | |
method load_fixtures in fixtures.rb at line 975 | |
method setup_fixtures in fixtures.rb at line 940 | |
method _run_setup_callbacks in callbacks.rb at line 414 | |
method run in setup_and_teardown.rb at line 34 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment