{"action":"closed","issue":{"url":"https://api.github.com/repos/test-class-moose/test-class-moose/issues/56","labels_url":"https://api.github.com/repos/test-class-moose/test-class-moose/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/test-class-moose/test-class-moose/issues/56/comments","events_url":"https://api.github.com/repos/test-class-moose/test-class-moose/issues/56/events","html_url":"https://github.com/test-class-moose/test-class-moose/issues/56","id":115579580,"number":56,"title":"moose attributes not being applied?","user":{"login":"dimentox","id":5051580,"avatar_url":"https://avatars.githubusercontent.com/u/5051580?v=3","gravatar_id":"","url":"https://api.github.com/users/dimentox","html_url":"https://github.com/dimentox","followers_url":"https://api.github.com/users/dimentox/followers","following_url":"https://api.github.com/users/dimentox/following{/other_user}","gists_url":"https://api.github.com/users/dimentox/gists{/gist_id}","starred_url":"https://api.github.com/users/dimentox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimentox/subscriptions","organizations_url":"https://api.github.com/users/dimentox/orgs","repos_url":"https://api.github.com/users/dimentox/repos","events_url":"https://api.github.com/users/dimentox/events{/privacy}","received_events_url":"https://api.github.com/users/dimentox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T20:18:45Z","updated_at":"2015-11-07T18:39:55Z","closed_at":"2015-11-07T18:39:55Z","body":"```\r\npackage TestsFor::MehMeh;\r\nuse Test::Class::Moose;\r\n\r\n\r\nhas 'test_fixture' => ( is => 'rw' );\r\nsub test_setup {\r\n    my $test = shift;\r\n    $test->test_fixture(\"sdasdasd\");\r\n    #####STARTDEBUG\r\n    do {\r\n    use Data::Printer output => 'stderr',colored =>1, deparse => 1, caller_info => 1, show_readonly => 1, show_lvalue => 1, class => { inherited => 'all' };\r\n    p $test->meta->get_all_attributes;\r\n    };\r\n    \r\n    #####ENDDEBUG\r\n    \r\n}\r\n\r\nsub test_this_is_a_method {\r\n    my $test = shift;\r\n    ok 1, 'whee!';\r\n}\r\n\r\n\r\n1;\r\n\r\nuse Test::Class::Moose::Runner;\r\nINIT { Test::Class::Moose::Runner->new->runtests } # here's the magic!\r\n```\r\n\r\n\r\nand  the output\r\n```\r\n1..1\r\n#\r\n# Running tests for TestsFor::MehMeh\r\n#\r\n    # Subtest: TestsFor::MehMeh\r\n    1..1\r\n    # TestsFor::MehMeh->test_setup() failed: Can't locate object method \"test_fixture\" via package \"TestsFor::MehMeh\" at m3h.pl line 8.\r\n    not ok 1 - test_setup failed\r\n    #   Failed test 'test_setup failed'\r\n    #   at /Users/***/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Class/Moose/Role/Executor.pm line 273.\r\n    # TestsFor::MehMeh->test_this_is_a_method()\r\n        # Subtest: test_this_is_a_method\r\n        ok 1 - whee!\r\n        1..1\r\n    ok 2 - test_this_is_a_method\r\n    # Looks like you planned 1 test but ran 2.\r\n    # Looks like you failed 1 test of 2 run.\r\nnot ok 1 - TestsFor::MehMeh\r\n#   Failed test 'TestsFor::MehMeh'\r\n#   at /Users/****/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/darwin-thread-multi-2level/Moose/Meta/Method/Delegation.pm line 110.\r\n```"}}