diff --git a/lib/filestack_rails/configuration.rb b/lib/filestack_rails/configuration.rb index 74d23a5..ad59c41 100644 --- a/lib/filestack_rails/configuration.rb +++ b/lib/filestack_rails/configuration.rb @@ -3,7 +3,7 @@ class Configuration attr_accessor :api_key, :client_name, :secret_key, :security, :expiry, :app_secret, :cname def api_key - @api_key or raise "Set config.filepicker_rails.api_key" + @api_key or raise "Set config.filestack_rails.api_key" end def client_name diff --git a/spec/lib/configuration_spec.rb b/spec/lib/configuration_spec.rb index af0662d..e56a241 100644 --- a/spec/lib/configuration_spec.rb +++ b/spec/lib/configuration_spec.rb @@ -20,7 +20,7 @@ it "raise error when @api_key is not defined" do expect do configuration.api_key - end.to raise_error(RuntimeError, "Set config.filepicker_rails.api_key") + end.to raise_error(RuntimeError, "Set config.filestack_rails.api_key") end end