diff --git a/spec/phraseapp-in-context-editor-ruby/view_helpers_spec.rb b/spec/phraseapp-in-context-editor-ruby/view_helpers_spec.rb index 5c66165..e91dddc 100644 --- a/spec/phraseapp-in-context-editor-ruby/view_helpers_spec.rb +++ b/spec/phraseapp-in-context-editor-ruby/view_helpers_spec.rb @@ -2,6 +2,10 @@ require "phraseapp-in-context-editor-ruby" require "phraseapp-in-context-editor-ruby/view_helpers" +def content_security_policy_nonce + "some_nonce" +end + describe PhraseApp::InContextEditor::ViewHelpers do before(:all) do class Helpers @@ -20,7 +24,7 @@ class Helpers before(:each) { PhraseApp::InContextEditor.config.enabled = true } describe "has right ICE bundle address" do - it { is_expected.to include("") } end