From dd4252f71e16596de1d938139f29ff60a210abcd Mon Sep 17 00:00:00 2001 From: "Frank J. Cameron" Date: Sun, 26 Jun 2011 21:18:07 -0400 Subject: [PATCH] fjc - fix yaml in command_issues_spec for 1.9.2 (Psych) Before: 1) Psych::SyntaxError in 'github issues issues web opens the project's issues page' couldn't parse YAML at line 2 column 8 spec/commands/command_issues_spec.rb:24:in `block (2 levels) in ' 2) Psych::SyntaxError in 'github issues issues web closed the project's issues page' couldn't parse YAML at line 2 column 8 spec/commands/command_issues_spec.rb:40:in `block (2 levels) in ' After: 136 examples, 0 failures --- spec/commands/command_issues_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/commands/command_issues_spec.rb b/spec/commands/command_issues_spec.rb index 244b6d09..7e78da17 100644 --- a/spec/commands/command_issues_spec.rb +++ b/spec/commands/command_issues_spec.rb @@ -74,7 +74,7 @@ def mock_issues_for(state = "open", options = {}) options[:created_at] = 10.hours.ago options[:user] = "user" options[:project] = "project" - yaml = <<-YAML.gsub(/^ /, '') + yaml = <<-YAML.gsub(/^ /, '') --- issues: - number: 1 @@ -94,4 +94,4 @@ def mock_issues_for(state = "open", options = {}) @command.should_receive(:open).with(api_url).and_return(yaml) end end -end \ No newline at end of file +end