spec/features/scope/options_spec.rb in evil-client-3.0.4 vs spec/features/scope/options_spec.rb in evil-client-3.1.0
- old
+ new
@@ -1,9 +1,9 @@
RSpec.describe "scope options" do
before { load "spec/fixtures/test_client.rb" }
let(:params) { { subdomain: "europe", user: "andy", token: "foo", foo: 0 } }
- let(:client) { Test::Client.new(params) }
+ let(:client) { Test::Client.new(**params) }
let(:crm) { client.crm(version: 4) }
shared_examples :valid_client do |details = "properly"|
it "[assigns scope options #{details}]" do
expect(subject.options).to eq options