GitHub PullRequestReviewCommentEvent at 2014-04-22 00:37:24
Repository: pronounce
Actor: houndci
Payload: {"comment":{"url":"https://api.github.com/repos/josephwilk/pronounce/pulls/comments/11833682","id":11833682,"diff_hunk":"@@ -1,20 +1,19 @@\n-require 'spec_helper'\n require 'pronounce/syllable_rules/rule_result'\n \n module Pronounce::SyllableRules\n   describe RuleResult do\n     describe '#<=>' do\n       it 'ranks :new_syllable > :no_new_syllable > :not_applicable' do\n-        expect(RuleResult.new :lang, :new_syllable).to eq RuleResult.new(:lang, :new_syllable)\n-        expect(RuleResult.new :lang, :new_syllable).to be > RuleResult.new(:lang, :no_new_syllable)\n-        expect(RuleResult.new :lang, :no_new_syllable).to be > RuleResult.new(:lang, :not_applicable)\n-        expect(RuleResult.new :lang, :not_applicable).to be < RuleResult.new(:lang, :new_syllable)\n+        expect(RuleResult.new(:lang, :new_syllable)).to eq RuleResult.new(:lang, :new_syllable)\n+        expect(RuleResult.new(:lang, :new_syllable)).to be > RuleResult.new(:lang, :no_new_syllable)\n+        expect(RuleResult.new(:lang, :no_new_syllable)).to be > RuleResult.new(:lang, :not_applicable)\n+        expect(RuleResult.new(:lang, :not_applicable)).to be < RuleResult.new(:lang, :new_syllable)\n       end\n \n       it 'ranks results of base rules lower than other applicable results' do\n-        expect(RuleResult.new 'a rule', :new_syllable).to eq RuleResult.new('another rule', :new_syllable)\n-        expect(RuleResult.new :lang, :no_new_syllable).to be > RuleResult.new(:base, :new_syllable)\n-        expect(RuleResult.new :lang, :not_applicable).to be < RuleResult.new(:base, :no_new_syllable)\n+        expect(RuleResult.new('a rule', :new_syllable)).to eq RuleResult.new('another rule', :new_syllable)\n+        expect(RuleResult.new(:lang, :no_new_syllable)).to be > RuleResult.new(:base, :new_syllable)","path":"spec/pronounce/syllable_rules/rule_result_spec.rb","position":23,"original_position":23,"commit_id":"9224feb5c49e6893eedf9960c6c522166486ee25","original_commit_id":"9224feb5c49e6893eedf9960c6c522166486ee25","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [100/80]","created_at":"2014-04-22T00:37:24Z","updated_at":"2014-04-22T00:37:24Z","html_url":"https://github.com/josephwilk/pronounce/pull/31#discussion_r11833682","pull_request_url":"https://api.github.com/repos/josephwilk/pronounce/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/josephwilk/pronounce/pulls/comments/11833682"},"html":{"href":"https://github.com/josephwilk/pronounce/pull/31#discussion_r11833682"},"pull_request":{"href":"https://api.github.com/repos/josephwilk/pronounce/pulls/31"}}}}