Skip to content

Commit

Permalink
Merge pull request #64 from novuhq/another-active-support
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
unicodeveloper authored Jan 16, 2024
2 parents 1472d38 + 8b3a57f commit 530ad70
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions spec/blueprints_spec.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# frozen_string_literal: true

require "spec_helper"
# require "spec_helper"
require_relative "../lib/novu"

RSpec.describe Novu::Api::Blueprints 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" }

describe "#get_blueprint" do
Expand Down
2 changes: 1 addition & 1 deletion spec/changes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Changes 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" }

describe "#changes" do
Expand Down
2 changes: 1 addition & 1 deletion spec/environments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Environments 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" }

describe "#environment" do
Expand Down
2 changes: 1 addition & 1 deletion spec/events_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Events 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" }

describe "#trigger_event" do
Expand Down
2 changes: 1 addition & 1 deletion spec/execution_details_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::ExecutionDetails 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" }

describe "#execution_details" do
Expand Down
2 changes: 1 addition & 1 deletion spec/feeds_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Feeds 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" }

describe "#create_feed" do
Expand Down
2 changes: 1 addition & 1 deletion spec/inbound_parse_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::InboundParse 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(:subscriber_id) { "63f71b3ef067290fa669106d" }

Expand Down
2 changes: 1 addition & 1 deletion spec/integrations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Integrations 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" }

describe "#integrations" do
Expand Down
2 changes: 1 addition & 1 deletion spec/layouts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Layouts 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(:layout_id) { "63f71b3ef067290fa669106d" }

Expand Down
2 changes: 1 addition & 1 deletion spec/messsages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Messages 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" }

describe "#message" do
Expand Down
2 changes: 1 addition & 1 deletion spec/notification_groups_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::NotificationGroups 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" }

describe "#create_notification_group" do
Expand Down
2 changes: 1 addition & 1 deletion spec/notification_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Notification 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" }

describe "#notifications" do
Expand Down
2 changes: 1 addition & 1 deletion spec/notification_templates_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::NotificationTemplates 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(:template_id) { "63f71b3ef067290fa669106d" }

Expand Down
2 changes: 1 addition & 1 deletion spec/subscribers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Subscribers 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(:subscriber_id) { "63f71b3ef067290fa669106d" }

Expand Down
2 changes: 1 addition & 1 deletion spec/tenants_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Tenants 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(:identifier) { "a_unique_string" }

Expand Down
2 changes: 1 addition & 1 deletion spec/topics_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

RSpec.describe Novu::Api::Topics 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

0 comments on commit 530ad70

Please sign in to comment.