spec/lita/handlers/zerocater_spec.rb in lita-zerocater-1.0.0 vs spec/lita/handlers/zerocater_spec.rb in lita-zerocater-1.0.1
- old
+ new
@@ -122,10 +122,10 @@
it 'shows a warning if there was a problem retrieving the page' do
allow_any_instance_of(Faraday::Connection).to receive('get').and_raise
send_command('zerocater today')
expect(replies.last).to eq('There was an error retrieving the menu')
end
- # rubocop:enabler RSpec/AnyInstance
+ # rubocop:enable RSpec/AnyInstance
end
it 'shows the menu for tomorrow' do
Timecop.travel(Time.local(2016, 4, 5, 8, 0, 0))
VCR.use_cassette('zerocater') do