From 26501c3128b2f0eda4d738ecf5e5113ccfe38dbe Mon Sep 17 00:00:00 2001 From: Ami Mahloof <130996527+ami-descope@users.noreply.github.com> Date: Wed, 1 May 2024 10:17:35 -0400 Subject: [PATCH] fix theme import (#72) --- examples/ruby-on-rails-api/descope/Gemfile.lock | 2 +- spec/integration/lib.descope/api/v1/management/flow_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ruby-on-rails-api/descope/Gemfile.lock b/examples/ruby-on-rails-api/descope/Gemfile.lock index bf0a9f2..7770bf2 100644 --- a/examples/ruby-on-rails-api/descope/Gemfile.lock +++ b/examples/ruby-on-rails-api/descope/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: ../../../.. specs: - descope (1.0.5) + descope (1.0.6) addressable (~> 2.8) jwt (~> 2.7) rest-client (~> 2.1) diff --git a/spec/integration/lib.descope/api/v1/management/flow_spec.rb b/spec/integration/lib.descope/api/v1/management/flow_spec.rb index 6654937..b8ce624 100644 --- a/spec/integration/lib.descope/api/v1/management/flow_spec.rb +++ b/spec/integration/lib.descope/api/v1/management/flow_spec.rb @@ -38,7 +38,7 @@ it 'should import the current project theme' do export_theme = @client.export_theme export_theme_current_version = export_theme['theme']['version'] - imported_theme = @client.import_theme(export_theme) + imported_theme = @client.import_theme(export_theme['theme']) expect(imported_theme['theme']['version']).to be(export_theme_current_version + 1) end end