We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cf927 commit d8804c8Copy full SHA for d8804c8
spec/ldclient_spec.rb
@@ -103,10 +103,10 @@
103
104
describe '#all_flags' do
105
it "will parse and return the features list" do
106
- result = double("Faraday::Response", status: 200, body: '{"foo": {"key": "foo"}}')
+ result = double("Faraday::Response", status: 200, body: '{"asdf":"qwer"}')
107
expect(client).to receive(:make_request).with("/api/eval/features").and_return(result)
108
data = client.send(:all_flags)
109
- expect(data).to eq {foo : {key: "foo"}}
+ expect(data).to eq(asdf: "qwer")
110
end
111
it "will log errors" do
112
result = double("Faraday::Response", status: 418)
0 commit comments