diff options
| author | Robert | 2017-05-19 17:20:47 +0200 | 
|---|---|---|
| committer | Robert | 2017-05-19 17:20:47 +0200 | 
| commit | 3f9ab8052d67e4c54ae60077ff3c08468a47f058 (patch) | |
| tree | d62c3a6b49ce7cf62cc3fe98550a775d52377c8d | |
| parent | bf0dde36ac23cfa245ec946aade882342cf071bf (diff) | |
| download | chouette-core-3f9ab8052d67e4c54ae60077ff3c08468a47f058.tar.bz2 | |
Refs: #3326; ticket in standby
| -rw-r--r-- | spec/policies/application_policy_spec.rb | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/spec/policies/application_policy_spec.rb b/spec/policies/application_policy_spec.rb index 5331af5e3..d7e8e5e27 100644 --- a/spec/policies/application_policy_spec.rb +++ b/spec/policies/application_policy_spec.rb @@ -11,10 +11,9 @@ RSpec.describe ApplicationPolicy, type: :policy do        expect_it.not_to permit(user_context, referential)      end -    it "denies a user with a different organisation" do +    it "allows a user with a different organisation" do        user.update_attribute :organisation, referential.organisation        expect_it.to permit(user_context, referential)      end -    end  end | 
