spec/unit/view_spec.rb in ayadn-2.0.9 vs spec/unit/view_spec.rb in ayadn-2.0.10
- old
+ new
@@ -74,11 +74,11 @@
end
it "outputs the reposters list" do
printed = capture_stdout do
Ayadn::View.new.show_list_reposted(list[0]['data'], 123456)
end
- expect(printed).to include *['Joel Timmins', 'Donny Davis', 'Nicolas Maumont', 'reposted post', '123456']
+ expect(printed).to include *['Joel Timmins', 'Donny Davis', 'reposted post', '123456']
end
end
describe "#show_list_starred" do
before do
@@ -87,10 +87,10 @@
end
it "outputs the starred list" do
printed = capture_stdout do
Ayadn::View.new.show_list_starred(list[0]['data'], 123456)
end
- expect(printed).to include *['Joel Timmins', 'Donny Davis', 'Nicolas Maumont', 'starred post', '123456']
+ expect(printed).to include *['Joel Timmins', 'Donny Davis', 'starred post', '123456']
end
end
describe "#show_list_followings" do
before do