spec/unit/lita/handlers/github_pr_spec.rb in lita-github-0.2.2 vs spec/unit/lita/handlers/github_pr_spec.rb in lita-github-0.3.0
- old
+ new
@@ -31,10 +31,10 @@
# pr_list command routing
it { is_expected.to route_command('gh pr list GrapeDuty/lita-test').to(:pr_list) }
it { is_expected.to route_command('gh pr list lita-test').to(:pr_list) }
- let(:github_pr) { Lita::Handlers::GithubPR.new('robot') }
+ let(:github_pr) { Lita::Handlers::GithubPR.new(robot) }
let(:github_org) { 'GrapeDuty' }
let(:github_repo) { 'lita-test' }
let(:full_name) { "#{github_org}/#{github_repo}" }
let(:disabled_reply) { 'Sorry, this function has either been disabled or not enabled in the config' }