GitHub PullRequestReviewCommentEvent at 2014-03-03 14:23:19
Repository: katello
Actor: ehelms
Payload: {"comment":{"url":"https://api.github.com/repos/Katello/katello/pulls/comments/10211181","id":10211181,"diff_hunk":"@@ -18,17 +18,23 @@ module Katello\n     include Dynflow::Testing\n     include Support::Actions::Fixtures\n \n-    describe \"Create\" do\n-      let(:action_class) { ::Actions::Headpin::User::Create }\n+    actions = [::Actions::Headpin::User::Create,\n+               ::Actions::Headpin::User::Update,\n+               ::Actions::Headpin::User::Destroy]\n \n-      it 'plans' do\n-        user         = stub('cp',\n-                            remote_id: 'stubbed_user',\n-                            disable_auto_reindex!: true)\n-        action = create_action action_class\n-        action.stubs(:action_subject).with(user)\n-        plan_action(action, user)\n-        assert_action_planed_with action, ::Actions::ElasticSearch::Reindex, user\n+    actions.each do |action|\n+      describe action.to_s.demodulize do\n+        let(:action_class) { action }\n+\n+        it 'plans' do\n+          user   = stub('cp',\n+                        remote_id:             'stubbed_user',","path":"test/actions/headpin/user_test.rb","position":24,"original_position":24,"commit_id":"d79e31ef5f45b8abb2dba7c4a9cb505da0afd0d5","original_commit_id":"d79e31ef5f45b8abb2dba7c4a9cb505da0afd0d5","user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363","gravatar_id":"40d2364ddb422d23fb97b6a0fdea5741","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"body":"Spacing.","created_at":"2014-03-03T14:23:19Z","updated_at":"2014-03-03T14:23:19Z","html_url":"https://github.com/Katello/katello/pull/3740#discussion_r10211181","pull_request_url":"https://api.github.com/repos/Katello/katello/pulls/3740","_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments/10211181"},"html":{"href":"https://github.com/Katello/katello/pull/3740#discussion_r10211181"},"pull_request":{"href":"https://api.github.com/repos/Katello/katello/pulls/3740"}}}}