spec/unit/view_spec.rb in ayadn-1.1.3 vs spec/unit/view_spec.rb in ayadn-1.2.0
- old
+ new
@@ -73,10 +73,10 @@
end
describe "#show_posts_with_index" do
it 'outputs the indexed stream' do
printed = capture_stdout do
- Ayadn::View.new.show_posts_with_index(stream['data'], {})
+ Ayadn::View.new.show_posts_with_index(stream['data'], {}, {})
end
expect(printed).to include "001"
expect(printed).to include "Backer of the Day"
end
end