Skip to content

Commit ef2714a

Browse files
committed
Fix test for new actions method changes.
1 parent a58d76b commit ef2714a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

spec/github/api_spec.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@
2323
it 'ensures output contains api methods' do
2424
methods = [ 'method_a', 'method_b']
2525
repos.stub(:instance_methods).and_return methods
26-
output = capture(:stdout) {
27-
subject.api_methods_in(repos)
28-
}
29-
output.should =~ /.*method_a.*/
30-
output.should =~ /.*method_b.*/
26+
expect(subject.api_methods_in(repos)).to eq(['method_a', 'method_b'])
3127
end
3228
end
3329

0 commit comments

Comments
 (0)