Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ GEM
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
addressable (2.8.8)
public_suffix (>= 2.0.2, < 8.0)
ast (2.4.3)
axe-core-api (4.11.0)
dumb_delegator
Expand Down Expand Up @@ -112,7 +112,7 @@ GEM
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
concurrent-ruby (1.3.5)
connection_pool (2.5.4)
connection_pool (2.5.5)
coveralls_reborn (0.29.0)
simplecov (~> 0.22.0)
term-ansicolor (~> 1.7)
Expand Down Expand Up @@ -144,7 +144,8 @@ GEM
execjs (2.10.0)
factory_bot (6.5.6)
activesupport (>= 6.1.0)
feedbag (1.0.0)
feedbag (1.0.2)
addressable (~> 2.8)
nokogiri (~> 1.8, >= 1.8.2)
feedjira (4.0.1)
logger (>= 1.0, < 2)
Expand Down Expand Up @@ -231,7 +232,7 @@ GEM
psych (5.2.6)
date
stringio
public_suffix (6.0.2)
public_suffix (7.0.0)
puma (7.1.0)
nio4r (~> 2.0)
raabro (1.4.0)
Expand Down Expand Up @@ -281,7 +282,7 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rdoc (6.15.1)
rdoc (6.16.1)
erb
psych (>= 4.0.0)
tsort
Expand Down Expand Up @@ -330,7 +331,7 @@ GEM
rubocop-factory_bot (2.28.0)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop-rails (2.34.0)
rubocop-rails (2.34.2)
activesupport (>= 4.2.0)
lint_roller (~> 1.1)
rack (>= 1.1)
Expand Down
3 changes: 3 additions & 0 deletions config/initializers/feed_bag.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# frozen_string_literal: true

Feedbag.logger = Rails.logger
1 change: 0 additions & 1 deletion spec/requests/feeds_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def with_test_adapter
it "does not add the feed" do
login_as(default_user)
stub_request(:get, feed_url).to_return(status: 404)
expect($stderr).to receive(:puts).with(/Error occurred/)
post("/feeds", params: { feed_url: })

expect(rendered).to have_css(".error")
Expand Down