Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fjc - fix yaml in command_issues_spec for 1.9.2 (Psych) #61

Open
wants to merge 1 commit into from

0 participants

@ghost

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

Frank J. Cameron 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 <top (required)>'

    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 <top (required)>'

After:
    136 examples, 0 failures
dd4252f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 27, 2011
  1. fjc - fix yaml in command_issues_spec for 1.9.2 (Psych)

    Frank J. Cameron authored
    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 <top (required)>'
    
        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 <top (required)>'
    
    After:
        136 examples, 0 failures
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/commands/command_issues_spec.rb
View
4 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
+end
Something went wrong with that request. Please try again.