spec/policies/post_policy_spec.rb in pundit-2.1.0 vs spec/policies/post_policy_spec.rb in pundit-2.1.1
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require "spec_helper"
-describe PostPolicy do
+RSpec.describe PostPolicy do
let(:user) { double }
let(:own_post) { double(user: user) }
let(:other_post) { double(user: double) }
subject { described_class }