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
{{ message }}
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.
I am trying to hooked on after(:suite) in separate module , the reason is to print a hash with values, but nothing happened :( .
module MyModule
extend ActiveSupport::Concern
self.included do
instance_eval do
after :all do
pretty_print(@some_hash)
end
after :suite do
pretty_print(@some_other_hash)
end
end
end
end
The hash from "after :all" is printing after every spec as it should be, but when I am trying to print the hash from "after :suite" after all specs nothing happens.
The text was updated successfully, but these errors were encountered:
I am trying to hooked on after(:suite) in separate module , the reason is to print a hash with values, but nothing happened :( .
The hash from "after :all" is printing after every spec as it should be, but when I am trying to print the hash from "after :suite" after all specs nothing happens.
The text was updated successfully, but these errors were encountered: