Skip to content

Commit

Permalink
Merge pull request #63 from novuhq/active-support
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
unicodeveloper committed Jan 16, 2024
2 parents 3963e08 + 9c8a992 commit 1472d38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions spec/organizations_spec.rb
Original file line number Diff line number Diff line change
@@ -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" }

Expand Down
6 changes: 3 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1472d38

Please sign in to comment.