Skip to content

Commit

Permalink
Update VCR episodes, change error 400 to 401
Browse files Browse the repository at this point in the history
  • Loading branch information
ledermann committed Aug 6, 2024
1 parent 911d770 commit 07129f7
Show file tree
Hide file tree
Showing 12 changed files with 100 additions and 100 deletions.
2 changes: 1 addition & 1 deletion spec/lib/senec/cloud/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
it { is_expected.to be_truthy }

it 'cannot access data', vcr: 'cloud/login-by-invalid-token' do
expect { connection.systems }.to raise_error(Senec::Cloud::Error, 'Error 400')
expect { connection.systems }.to raise_error(Senec::Cloud::Error, 'Error 401')
end
end
end
Expand Down
34 changes: 17 additions & 17 deletions spec/support/cassettes/cloud/fetch-dashboard-default-system.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions spec/support/cassettes/cloud/fetch-dashboard-invalid-system.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions spec/support/cassettes/cloud/fetch-dashboard-specific-system.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions spec/support/cassettes/cloud/fetch-systems.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 07129f7

Please sign in to comment.