You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It needs to clarify at README that in projects with rspec, the gem 'singed' needs to be at same group as rspecgem in your Gemfile.
Otherwise you get this:
bundle exec singed -- bin/rails runner 'User.all.to_a'
You can remove `require 'dalli/cas/client'` as this code has been rolled into the standard 'dalli/client'.
bundler: failed to load command: singed (/Users/kivanio/.rbenv/versions/3.2.1/bin/singed)
/Users/kivanio/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/singed-0.1.1/lib/singed/rspec.rb:3:in `<main>': undefined method `configure' for RSpec:Module (NoMethodError)
RSpec.configure do |config|
^^^^^^^^^^
Activity
Overload119 commentedon Mar 21, 2023
It'd be nice to remove the dependency on rspec completely.
technicalpickles commentedon Mar 21, 2023
How are you including singed in your project? I'm confused how
singed/rspecis loaded becausesingedonly requires it ifRSpecis defined:singed/lib/singed.rb
Line 56 in ee1c84d
We could remove that line, and add an explicit configuration step to rspec, ie
require 'singed/rspec'.Overload119 commentedon Mar 21, 2023
Ah, I think this is because I have
rspec-railsrequired but notrspecI removed this from my Gemfile and it works. Perhaps we check for the
configureviarespond_toor just do nothing.kivanio commentedon Mar 22, 2023
Same here
I only require
rspec-railsat my Rails appAdd explicit GITHUB_TOKEN permissions to CI Test workflow