diff --git a/spec/organizations_spec.rb b/spec/organizations_spec.rb index 11dc70f..7358721 100644 --- a/spec/organizations_spec.rb +++ b/spec/organizations_spec.rb @@ -1,11 +1,10 @@ # frozen_string_literal: true -require "spec_helper" require_relative "../lib/novu" RSpec.describe Novu::Api::Organizations do let(:access_token) { "1234567890" } - let(:client) { Novu::Client.new(access_token) } + let(:client) { Novu::Client.new(access_token: access_token) } let(:base_uri) { "https://api.novu.co/v1" } let(:topic_key) { "test-topic" } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ddb065d..0155446 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -4,9 +4,9 @@ require_relative "../lib/novu" RSpec.configure do |config| - config.expect_with :rspec, :test_unit - config.mock_with :mocha - config.pattern = '**/*.spec' + # config.expect_with :rspec, :test_unit + # config.mock_with :mocha + # config.pattern = '**/*.spec' # # Enable flags like --only-failures and --next-failure # config.example_status_persistence_file_path = ".rspec_status"